also deploy SMAPI files in release builds
This commit is contained in:
parent
efa7372a20
commit
596b750ab6
|
@ -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)" />
|
||||||
|
|
Loading…
Reference in New Issue