tweak debug build config, update release notes
This commit is contained in:
parent
8f678d13c1
commit
c357013156
|
@ -6,6 +6,7 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.8...1.9).
|
|||
For players:
|
||||
* Updated for Stardew Valley 1.2.
|
||||
* Simplified log filename.
|
||||
* SMAPI now rewrites most mods for Stardew Valley 1.2 compatibility.
|
||||
|
||||
For mod developers:
|
||||
* Added `SaveEvents.AfterReturnToTitle` event.
|
||||
|
@ -14,6 +15,9 @@ For mod developers:
|
|||
[deprecation guide](http://canimod.com/guides/updating-a-smapi-mod) for more information.
|
||||
* Log files now always use `\r\n` to simplify crossplatform viewing.
|
||||
|
||||
For SMAPI developers:
|
||||
* Added support for debugging with Visual Studio for Mac.
|
||||
|
||||
## 1.8
|
||||
See [log](https://github.com/Pathoschild/SMAPI/compare/1.7...1.8).
|
||||
|
||||
|
|
|
@ -241,14 +241,8 @@
|
|||
<Target Name="BeforeBuild">
|
||||
<Error Condition="!Exists('$(GamePath)')" Text="Failed to find the game install path automatically; edit the *.csproj file and manually add a <GamePath> setting with the full directory path containing the Stardew Valley executable." />
|
||||
</Target>
|
||||
|
||||
<!-- copy files into game directory and enable debugging (only in debug mode) -->
|
||||
<PropertyGroup Condition="$(Configuration) == 'Debug'">
|
||||
<StartAction>Program</StartAction>
|
||||
<StartProgram>$(GamePath)\StardewModdingAPI.exe</StartProgram>
|
||||
<StartWorkingDirectory>$(GamePath)</StartWorkingDirectory>
|
||||
</PropertyGroup>
|
||||
<!-- Fix for Mac and Linux(?) -->
|
||||
<PropertyGroup Condition="'$(RunConfiguration)' == 'Default'" />
|
||||
<Target Name="AfterBuild" Condition="$(Configuration) == 'Debug'">
|
||||
<Copy SourceFiles="$(TargetDir)\$(TargetName).exe" DestinationFolder="$(GamePath)" />
|
||||
<Copy SourceFiles="$(TargetDir)\$(TargetName).config.json" DestinationFolder="$(GamePath)" />
|
||||
|
@ -260,4 +254,15 @@
|
|||
<Copy SourceFiles="$(TargetDir)\Newtonsoft.Json.dll" DestinationFolder="$(GamePath)" />
|
||||
<Copy SourceFiles="$(TargetDir)\Mono.Cecil.dll" DestinationFolder="$(GamePath)" />
|
||||
</Target>
|
||||
|
||||
<!-- launch SMAPI on debug -->
|
||||
<PropertyGroup Condition="$(Configuration) == 'Debug'">
|
||||
<StartAction>Program</StartAction>
|
||||
<StartProgram>$(GamePath)\StardewModdingAPI.exe</StartProgram>
|
||||
<StartWorkingDirectory>$(GamePath)</StartWorkingDirectory>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Somehow this makes Visual Studio for Mac recognise the previous section. -->
|
||||
<!-- Nobody knows why. -->
|
||||
<PropertyGroup Condition="'$(RunConfiguration)' == 'Default'" />
|
||||
</Project>
|
Loading…
Reference in New Issue