diff --git a/spy/Spy.vcxproj b/spy/Spy.vcxproj
index efdd2d3..a1caf55 100644
--- a/spy/Spy.vcxproj
+++ b/spy/Spy.vcxproj
@@ -163,7 +163,7 @@ C:\Tools\nanopb\protoc --nanopb_out=. wcf.proto
spy.def
- md $(SolutionDir)Out
+ if not exist $(SolutionDir)Out md $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)Out