summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig/build
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-09-16 17:29:22 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-11-28 00:01:47 -0500
commit60c0e4fc31475847cbf94d201f0bd394c537d9c0 (patch)
tree294a40c00adbd374efa60cd8f794f69a4d04e939 /src/SMAPI.ModBuildConfig/build
parent32dcdfe18c634804983f130c0b7bac4bddca93f7 (diff)
downloadSMAPI-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.targets3
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>