diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-14 18:14:08 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-14 18:14:08 -0400 |
commit | eb125f1994c605704be384ffdcf4da64b88d9405 (patch) | |
tree | 7ca55c1706f829afa69a8fc70abad0d25a99b3c9 | |
parent | 4de18b516fb12c3f842e72560b4d41aae7b7eff9 (diff) | |
download | SMAPI-eb125f1994c605704be384ffdcf4da64b88d9405.tar.gz SMAPI-eb125f1994c605704be384ffdcf4da64b88d9405.tar.bz2 SMAPI-eb125f1994c605704be384ffdcf4da64b88d9405.zip |
fix assembly version conflict error in mod build package
-rw-r--r-- | docs/technical/mod-package.md | 1 | ||||
-rw-r--r-- | src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/technical/mod-package.md b/docs/technical/mod-package.md index 4c31f69b..b29f3f72 100644 --- a/docs/technical/mod-package.md +++ b/docs/technical/mod-package.md @@ -414,6 +414,7 @@ when you compile it. ## Release notes ## Upcoming release * Added detection for Xbox app game folders. +* Fixed "_conflicts between different versions of Microsoft.Win32.Registry_" warnings in recent SMAPI versions. * Internal refactoring. ## 4.0.0 diff --git a/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj b/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj index 82eac7f6..09792d3c 100644 --- a/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj +++ b/src/SMAPI.ModBuildConfig/SMAPI.ModBuildConfig.csproj @@ -25,6 +25,12 @@ <ItemGroup> <PackageReference Include="Microsoft.Build.Utilities.Core" Version="16.10" /> <PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> + + <!-- + This is imported through Microsoft.Build.Utilities.Core. When installed by a mod, NuGet + otherwise imports version 4.3.0 instead of 5.0.0, which conflicts with SMAPI's version. + --> + <PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" /> </ItemGroup> <ItemGroup> |