diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-18 16:56:28 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-18 16:56:28 -0400 |
commit | 1b1f37d082ea9dbea39bc13aade9d5fd8e6c5f7c (patch) | |
tree | fff18bc1ef7ce431f0a3baf7cd375a66c4ac3ca2 | |
parent | 37a2e345074449b02d173c5e9a6984f2f6e11789 (diff) | |
download | SMAPI-1b1f37d082ea9dbea39bc13aade9d5fd8e6c5f7c.tar.gz SMAPI-1b1f37d082ea9dbea39bc13aade9d5fd8e6c5f7c.tar.bz2 SMAPI-1b1f37d082ea9dbea39bc13aade9d5fd8e6c5f7c.zip |
fix build error with Mono 5.0 on Linux/Mac
-rw-r--r-- | src/TrainerMod/TrainerMod.csproj | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/TrainerMod/TrainerMod.csproj b/src/TrainerMod/TrainerMod.csproj index 191b7819..46d8bef9 100644 --- a/src/TrainerMod/TrainerMod.csproj +++ b/src/TrainerMod/TrainerMod.csproj @@ -80,8 +80,7 @@ </PropertyGroup> <Target Name="AfterBuild" Condition="$(Configuration) == 'Debug'"> <Copy SourceFiles="$(TargetDir)\$(TargetName).dll" DestinationFolder="$(GamePath)\Mods\TrainerMod" /> - <Copy SourceFiles="$(TargetDir)\$(TargetName).dll.mdb" DestinationFolder="$(GamePath)\Mods\TrainerMod" Condition="$(OS) != 'Windows_NT'" /> - <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)\Mods\TrainerMod" Condition="$(OS) == 'Windows_NT'" /> + <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)\Mods\TrainerMod" Condition="Exists('$(TargetDir)\$(TargetName).pdb')" /> <Copy SourceFiles="$(TargetDir)\manifest.json" DestinationFolder="$(GamePath)\Mods\TrainerMod" /> </Target> </Project>
\ No newline at end of file |