diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI.Installer/assets/runtimeconfig.json (renamed from src/SMAPI.Installer/assets/runtimeconfig.unix.json) | 5 | ||||
-rw-r--r-- | src/SMAPI.Installer/assets/runtimeconfig.windows.json | 13 | ||||
-rw-r--r-- | src/SMAPI/SMAPI.csproj | 3 |
3 files changed, 6 insertions, 15 deletions
diff --git a/src/SMAPI.Installer/assets/runtimeconfig.unix.json b/src/SMAPI.Installer/assets/runtimeconfig.json index a1d060b5..34018b8a 100644 --- a/src/SMAPI.Installer/assets/runtimeconfig.unix.json +++ b/src/SMAPI.Installer/assets/runtimeconfig.json @@ -5,11 +5,12 @@ { "name": "Microsoft.NETCore.App", "version": "5.0.0", - "rollForward": "major" + "rollForward": "latestMinor" } ], "configProperties": { - "System.Runtime.TieredCompilation": false + "System.Runtime.TieredCompilation": false, + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false } } } diff --git a/src/SMAPI.Installer/assets/runtimeconfig.windows.json b/src/SMAPI.Installer/assets/runtimeconfig.windows.json deleted file mode 100644 index d5f24bdb..00000000 --- a/src/SMAPI.Installer/assets/runtimeconfig.windows.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net5.0", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "5.0.0", - "rollForward": "major" - }, - "configProperties": { - "System.Runtime.TieredCompilation": false - } - } -} diff --git a/src/SMAPI/SMAPI.csproj b/src/SMAPI/SMAPI.csproj index b99028da..f07ede87 100644 --- a/src/SMAPI/SMAPI.csproj +++ b/src/SMAPI/SMAPI.csproj @@ -13,6 +13,9 @@ <!--copy dependency DLLs to bin folder so we can include them in installer bundle --> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> + + <!-- tiered compilation breaks Harmony --> + <TieredCompilation>false</TieredCompilation> </PropertyGroup> <Import Project="..\..\build\common.targets" /> |