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:52:41 -0800
commit4341ce681fbe4ff9b4a6b80127f495347f647dc7 (patch)
tree9b41628845b075f06b6d9513f261b182b7ca4d7c /src
parent8983ab9d6bc990c45937e83389d12aa8678d3416 (diff)
downloadDotNetOpenAuth-4341ce681fbe4ff9b4a6b80127f495347f647dc7.zip
DotNetOpenAuth-4341ce681fbe4ff9b4a6b80127f495347f647dc7.tar.gz
DotNetOpenAuth-4341ce681fbe4ff9b4a6b80127f495347f647dc7.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);