Skip to content

Commit 46a10a0

Browse files
committed
Merge pull request restsharp#657 from issafram/buildFix
Add double quotes in post build event to prevent errors in paths with spaces.
2 parents 529298e + 0389800 commit 46a10a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RestSharp.Build/RestSharp.Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</ItemGroup>
5151
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5252
<PropertyGroup>
53-
<PostBuildEvent>copy /Y $(TargetPath) $(SolutionDir).nuget\$(TargetFileName)</PostBuildEvent>
53+
<PostBuildEvent>copy /Y "$(TargetPath)" "$(SolutionDir).nuget\$(TargetFileName)"</PostBuildEvent>
5454
</PropertyGroup>
5555
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5656
Other similar extension points exist, see Microsoft.Common.targets.

0 commit comments

Comments
 (0)