Properly quote parameters of xcopy to handle spaces in paths

This commit is contained in:
baldurk
2014-07-15 17:34:59 +01:00
parent 7f6e960d85
commit 2d299961e1
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -485,8 +485,8 @@
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy /Y /Q $(SolutionDir)\ScintillaNET\SciLexer.dll $(TargetDir) &gt; nul
xcopy /Y /Q $(SolutionDir)\ScintillaNET\SciLexer64.dll $(TargetDir) &gt; nul</PostBuildEvent>
<PostBuildEvent>xcopy /Y /Q "$(SolutionDir)\ScintillaNET\SciLexer.dll" "$(TargetDir)" &gt; nul
xcopy /Y /Q "$(SolutionDir)\ScintillaNET\SciLexer64.dll" "$(TargetDir)" &gt; nul</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.