summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-11-23 22:39:57 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-11-23 22:39:57 -0500
commit730d9783959cc35945841ab721c930fad8ff9ca0 (patch)
tree73112a0626f761f0cded4cd6b614fd3572c720be /src
parentcc74388025548b028a9429b9d65f99f1413928a3 (diff)
downloadSMAPI-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 'src')
-rw-r--r--src/SMAPI.ModBuildConfig/build/smapi.targets4
-rw-r--r--src/SMAPI.ModBuildConfig/package.nuspec6
2 files changed, 2 insertions, 8 deletions
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets
index 78d3a3d4..5ca9f032 100644
--- a/src/SMAPI.ModBuildConfig/build/smapi.targets
+++ b/src/SMAPI.ModBuildConfig/build/smapi.targets
@@ -8,10 +8,6 @@
** Set build options
**********************************************-->
<PropertyGroup>
- <!-- set build to x86 to avoid mismatched platform warnings (only affects mods using new csproj format) -->
- <Platforms>x86</Platforms>
- <PlatformTarget>x86</PlatformTarget>
-
<!-- include PDB file by default to enable line numbers in stack traces -->
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
diff --git a/src/SMAPI.ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec
index 76818c9f..812e5bcb 100644
--- a/src/SMAPI.ModBuildConfig/package.nuspec
+++ b/src/SMAPI.ModBuildConfig/package.nuspec
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Pathoschild.Stardew.ModBuildConfig</id>
- <version>3.0.0-beta.6</version>
+ <version>3.0.0</version>
<title>Build package for SMAPI mods</title>
<authors>Pathoschild</authors>
<owners>Pathoschild</owners>
@@ -17,9 +17,7 @@
- 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.