diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-09-16 17:29:22 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-11-28 00:01:47 -0500 |
commit | 60c0e4fc31475847cbf94d201f0bd394c537d9c0 (patch) | |
tree | 294a40c00adbd374efa60cd8f794f69a4d04e939 /src/SMAPI.ModBuildConfig/build | |
parent | 32dcdfe18c634804983f130c0b7bac4bddca93f7 (diff) | |
download | SMAPI-60c0e4fc31475847cbf94d201f0bd394c537d9c0.tar.gz SMAPI-60c0e4fc31475847cbf94d201f0bd394c537d9c0.tar.bz2 SMAPI-60c0e4fc31475847cbf94d201f0bd394c537d9c0.zip |
ignore reference assemblies and *.deps.json when building a mod
These aren't useful for mods since they aren't the entry app.
Diffstat (limited to 'src/SMAPI.ModBuildConfig/build')
-rw-r--r-- | src/SMAPI.ModBuildConfig/build/smapi.targets | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI.ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets index a3cd6c45..74ac56e6 100644 --- a/src/SMAPI.ModBuildConfig/build/smapi.targets +++ b/src/SMAPI.ModBuildConfig/build/smapi.targets @@ -15,6 +15,9 @@ <!-- recognise XNA Framework DLLs in the GAC (only affects mods using new csproj format) --> <AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths> + <!-- don't create the 'refs' folder (which isn't useful for mods) --> + <ProduceReferenceAssembly>false</ProduceReferenceAssembly> + <!-- suppress processor architecture mismatch warning (mods should be compiled in 'Any CPU' so they work in both 32-bit and 64-bit mode) --> <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch> |