diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-11-23 22:39:57 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-11-23 22:39:57 -0500 |
commit | 730d9783959cc35945841ab721c930fad8ff9ca0 (patch) | |
tree | 73112a0626f761f0cded4cd6b614fd3572c720be /docs | |
parent | cc74388025548b028a9429b9d65f99f1413928a3 (diff) | |
download | SMAPI-730d9783959cc35945841ab721c930fad8ff9ca0.tar.gz SMAPI-730d9783959cc35945841ab721c930fad8ff9ca0.tar.bz2 SMAPI-730d9783959cc35945841ab721c930fad8ff9ca0.zip |
drop mod build package change which sets the x86 platform
Visual Studio changes platform inconsistently when set through a NuGet package, which can cause confusing behavior. It's better to set it directly in the project file instead.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/technical/mod-package.md | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/technical/mod-package.md b/docs/technical/mod-package.md index 43682bfb..a33480ad 100644 --- a/docs/technical/mod-package.md +++ b/docs/technical/mod-package.md @@ -130,11 +130,8 @@ To disable game debugging (only needed for some non-mod projects): ``` ### Preconfigure common settings -The package automatically enables PDB files, so error logs show line numbers for simpler debugging. - -For projects using the simplified `.csproj` format, it also enables the GAC (to support XNA -Framework) and sets the build to x86 mode (to avoid 'mismatch between the processor architecture' warnings due to - the game being x86). +The package also automatically enables PDB files (so error logs show line numbers for simpler +debugging), and enables support for the simplified `.csproj` format. ### Add code warnings The package runs code analysis on your mod and raises warnings for some common errors or pitfalls. @@ -294,9 +291,7 @@ which can be uploaded to NuGet or referenced directly. * Updated for SMAPI 3.0 and Stardew Valley 1.4. * Added automatic support for `assets` folders. * Added `$(GameExecutableName)` MSBuild variable. -* Added support for projects using the simplified `.csproj` format: - * 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. +* Added support for projects using the simplified `.csproj` format. * Added option to disable game debugging config. * Added `.pdb` files to builds by default (to enable line numbers in error stack traces). * Added optional Harmony reference. |