File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ bool IsAssemblyFile(string baseName)
164164 // release zips
165165 this . EqualsInvariant ( file . Extension , ".zip" )
166166
167+ // unneeded *.deps.json (only SMAPI's top-level one is used)
168+ || file . Name . EndsWith ( ".deps.json" )
169+
167170 // dependencies bundled with SMAPI
168171 || IsAssemblyFile ( "0Harmony" )
169172 || IsAssemblyFile ( "Newtonsoft.Json" )
Original file line number Diff line number Diff line change 1515 <!-- recognise XNA Framework DLLs in the GAC (only affects mods using new csproj format) -->
1616 <AssemblySearchPaths >$(AssemblySearchPaths);{GAC}</AssemblySearchPaths >
1717
18+ <!-- don't create the 'refs' folder (which isn't useful for mods) -->
19+ <ProduceReferenceAssembly >false</ProduceReferenceAssembly >
20+
1821 <!-- suppress processor architecture mismatch warning (mods should be compiled in 'Any CPU' so they work in both 32-bit and 64-bit mode) -->
1922 <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch >None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch >
2023
You can’t perform that action at this time.
0 commit comments