Skip to content

Commit 0389800

Browse files
committed
Added double quotes in post build event to prevent errors in paths with spaces.
1 parent 0b6ffe8 commit 0389800

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)