summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-01-18 19:52:41 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-01-18 19:53:50 -0800
commitabe869bc02ca037ceb3b202b844157eaf8ca8c7f (patch)
treec513820f9dc2f5fe46c1e6202cd2d13cbb546dc6 /src
parentba92d01ee3a93341f2f65a150b401ca63adf28e7 (diff)
downloadDotNetOpenAuth-abe869bc02ca037ceb3b202b844157eaf8ca8c7f.zip
DotNetOpenAuth-abe869bc02ca037ceb3b202b844157eaf8ca8c7f.tar.gz
DotNetOpenAuth-abe869bc02ca037ceb3b202b844157eaf8ca8c7f.tar.bz2
Fixed flashing of the console window during builds within the IDE.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.BuildTasks/GetBuildVersion.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.BuildTasks/GetBuildVersion.cs b/src/DotNetOpenAuth.BuildTasks/GetBuildVersion.cs
index 23db9a6..1d60ca4 100644
--- a/src/DotNetOpenAuth.BuildTasks/GetBuildVersion.cs
+++ b/src/DotNetOpenAuth.BuildTasks/GetBuildVersion.cs
@@ -61,6 +61,7 @@ namespace DotNetOpenAuth.BuildTasks {
string cmdPath = Path.Combine(System.Environment.GetFolderPath(Environment.SpecialFolder.System), "cmd.exe");
ProcessStartInfo psi = new ProcessStartInfo(cmdPath, "/c git rev-parse HEAD");
psi.WindowStyle = ProcessWindowStyle.Hidden;
+ psi.CreateNoWindow = true;
psi.RedirectStandardOutput = true;
psi.UseShellExecute = false;
Process git = Process.Start(psi);