also deploy SMAPI files in release builds

This commit is contained in:
Jesse Plamondon-Willard 2018-12-03 02:48:48 -05:00
parent efa7372a20
commit 596b750ab6
No known key found for this signature in database
GPG Key ID: 7D7C8097B62033CE
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@
<!-- copy files into game directory and enable debugging (only in debug mode) --> <!-- copy files into game directory and enable debugging (only in debug mode) -->
<Target Name="AfterBuild"> <Target Name="AfterBuild">
<CallTarget Targets="CopySMAPI;CopyDefaultMods" Condition="'$(Configuration)' == 'Debug'" /> <CallTarget Targets="CopySMAPI;CopyDefaultMods" />
</Target> </Target>
<Target Name="CopySMAPI" Condition="'$(MSBuildProjectName)' == 'StardewModdingAPI'"> <Target Name="CopySMAPI" Condition="'$(MSBuildProjectName)' == 'StardewModdingAPI'">
<Copy SourceFiles="$(TargetDir)\$(TargetName).exe" DestinationFolder="$(GamePath)" /> <Copy SourceFiles="$(TargetDir)\$(TargetName).exe" DestinationFolder="$(GamePath)" />