diff options
Diffstat (limited to 'src/SMAPI.ModBuildConfig/build/smapi.targets')
-rw-r--r-- | src/SMAPI.ModBuildConfig/build/smapi.targets | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index 79a491e7..e9209a45 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -13,6 +13,13 @@ <!-- 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> + + <!-- recognise XNA Framework DLLs in the GAC (only affects mods using new csproj format) --> + <AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths> + <!-- set default package options --> <ModFolderName Condition="'$(ModFolderName)' == ''">$(MSBuildProjectName)</ModFolderName> <ModZipPath Condition="'$(ModZipPath)' == ''">$(TargetDir)</ModZipPath> |