diff --git a/build/BuildBenchmark.ps1 b/build/BuildBenchmark.ps1
new file mode 100644
index 0000000000..c301a1ca32
--- /dev/null
+++ b/build/BuildBenchmark.ps1
@@ -0,0 +1,13 @@
+write-host `nRunning build. Please wait...
+
+$iterations = 10
+
+for ($i=1; $i -le $iterations; $i++)
+{
+ $sw = [System.Diagnostics.StopWatch]::StartNew()
+ & E:\dotnet-protobufs\build\BuildAll.bat
+ $sw.Stop()
+ $msbuildTotalRunTime += $sw.ElapsedMilliseconds
+}
+
+write-host `nMSBuild average speed over $iterations iterations: ($msbuildTotalRunTime/$iterations) milliseconds
\ No newline at end of file
diff --git a/build/Common.targets b/build/Common.targets
index fc611d7625..e26bc07a2c 100644
--- a/build/Common.targets
+++ b/build/Common.targets
@@ -75,6 +75,7 @@
+
diff --git a/build/build.csproj b/build/build.csproj
index 5805b62555..50e2207a31 100644
--- a/build/build.csproj
+++ b/build/build.csproj
@@ -20,7 +20,7 @@
$(LibDirectory)\protoc.exe
$(SourceDirectory)\ProtoGen\bin\$(BuildConfiguration)\protogen.exe
- $(SourceDirectory)\ProtoBench\bin\$(BuildConfiguration)\ProtoBench.exe
+ $(BuildTempDirectory)\ProtoBench.exe
$(LibDirectory)\NUnit 2.2.8.0\nunit-console.exe
$(LibDirectory)\7-Zip 9.20\7za.exe