summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-06-17 18:52:03 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 18:10:59 -0400
commit2cf2b6706f9e31775b1afe05980cfaed96ab1690 (patch)
tree52c229732cb7542e408e6287d95a08f2fabdbe6f /docs
parent1a8c7345c3986acd172f91716bbf04fc7192317b (diff)
downloadSMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.tar.gz
SMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.tar.bz2
SMAPI-2cf2b6706f9e31775b1afe05980cfaed96ab1690.zip
move game detection into toolkit for reuse
Diffstat (limited to 'docs')
-rw-r--r--docs/mod-build-config.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/mod-build-config.md b/docs/mod-build-config.md
index 22180059..a2b121f4 100644
--- a/docs/mod-build-config.md
+++ b/docs/mod-build-config.md
@@ -68,6 +68,14 @@ Or only create it in release builds with this:
<EnableModZip Condition="$(Configuration) != 'Release'">False</EnableModZip>
```
+### Debug game
+The package automatically configures Visual Studio to launch/debug the game when you launch/debug
+the project. To disable that, add this above the first `</PropertyGroup>` in your `.csproj`:
+
+```xml
+<EnableGameDebugging>False</EnableGameDebugging>
+```
+
### Game path
The package usually detects where your game is installed automatically. If it can't find your game
or you have multiple installs, you can specify the path yourself. There's two ways to do that:
@@ -148,6 +156,7 @@ You can use the package in non-mod projects too (e.g. unit tests or framework DL
disable deploying the mod and creating a release zip:
```xml
+<EnableGameDebugging>False</EnableGameDebugging>
<EnableModDeploy>False</EnableModDeploy>
<EnableModZip>False</EnableModZip>
```
@@ -235,6 +244,7 @@ _[Game path](#game-path)_ above.
* platform target is now set to x86 automatically to avoid mismatching platform target warnings;
* added GAC to assembly search paths to fix references to XNA Framework.
* Builds now include `.pdb` files by default, to enable line numbers in error stack traces.
+* You can now optionally disable game debugging config.
* Fixed `Newtonsoft.Json.pdb` included in release zips when Json.NET is referenced directly.
* Fixed `<IgnoreModFilePatterns>` not working for `i18n` files.
* Dropped support for older versions of SMAPI and Visual Studio.