summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-29 19:25:51 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-29 19:25:51 -0500
commitd5932a0d772bc145c4b5a2376bff03dbe724b322 (patch)
treec71e8dbaa49a8adc2d9ba0acdad8a4feaf6184f1
parent00a3c14446b716fc32c63bccf12c79bdbee436d1 (diff)
downloadSMAPI-d5932a0d772bc145c4b5a2376bff03dbe724b322.tar.gz
SMAPI-d5932a0d772bc145c4b5a2376bff03dbe724b322.tar.bz2
SMAPI-d5932a0d772bc145c4b5a2376bff03dbe724b322.zip
enable local SMAPI deployment on Linux/Mac
-rw-r--r--src/StardewModdingAPI/StardewModdingAPI.csproj7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/StardewModdingAPI.csproj b/src/StardewModdingAPI/StardewModdingAPI.csproj
index 0b6a185e..fda3ab3d 100644
--- a/src/StardewModdingAPI/StardewModdingAPI.csproj
+++ b/src/StardewModdingAPI/StardewModdingAPI.csproj
@@ -279,10 +279,11 @@
<StartProgram>$(GamePath)\StardewModdingAPI.exe</StartProgram>
<StartWorkingDirectory>$(GamePath)</StartWorkingDirectory>
</PropertyGroup>
- <Target Name="AfterBuild" Condition="$(Configuration) == 'Debug' AND $(OS) == 'Windows_NT'">
+ <Target Name="AfterBuild" Condition="$(Configuration) == 'Debug'">
<Copy SourceFiles="$(TargetDir)\$(TargetName).exe" DestinationFolder="$(GamePath)" />
- <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)" />
- <Copy SourceFiles="$(TargetDir)\$(TargetName).xml" DestinationFolder="$(GamePath)" />
+ <Copy SourceFiles="$(TargetDir)\StardewModdingAPI.AssemblyRewriters.dll" DestinationFolder="$(GamePath)" />
+ <Copy SourceFiles="$(TargetDir)\$(TargetName).pdb" DestinationFolder="$(GamePath)" Condition="$(OS) == 'Windows_NT'" />
+ <Copy SourceFiles="$(TargetDir)\$(TargetName).xml" DestinationFolder="$(GamePath)" Condition="$(OS) == 'Windows_NT'" />
<Copy SourceFiles="$(TargetDir)\Newtonsoft.Json.dll" DestinationFolder="$(GamePath)" />
</Target>
</Project> \ No newline at end of file