diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-31 21:23:44 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-31 21:23:44 -0400 |
commit | bf960ce283d794a11885a5fde6f123a4e6827853 (patch) | |
tree | 00986f30b162bc511f3e010c54a0057dffdddc81 /src/SMAPI.Toolkit | |
parent | 9992915f565578949cad8d9bb8ceb360e0db5c85 (diff) | |
download | SMAPI-bf960ce283d794a11885a5fde6f123a4e6827853.tar.gz SMAPI-bf960ce283d794a11885a5fde6f123a4e6827853.tar.bz2 SMAPI-bf960ce283d794a11885a5fde6f123a4e6827853.zip |
add backwards compatibility for mods using now-unused dependencies
Diffstat (limited to 'src/SMAPI.Toolkit')
-rw-r--r-- | src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs b/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs index cf804df4..32c2ed6d 100644 --- a/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs +++ b/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs @@ -35,6 +35,15 @@ namespace StardewModdingAPI.Toolkit.Framework.ModData AccessesFilesystem = 128, /// <summary>Uses .NET APIs for shell or process access.</summary> - AccessesShell = 256 + AccessesShell = 256, + + /// <summary>References the legacy <c>System.Configuration.ConfigurationManager</c> assembly and doesn't include a copy in the mod folder, so it'll break in SMAPI 4.0.0.</summary> + DetectedLegacyConfigurationDll = 512, + + /// <summary>References the legacy <c>System.Runtime.Caching</c> assembly and doesn't include a copy in the mod folder, so it'll break in SMAPI 4.0.0.</summary> + DetectedLegacyCachingDll = 1024, + + /// <summary>References the legacy <c>System.Security.Permissions</c> assembly and doesn't include a copy in the mod folder, so it'll break in SMAPI 4.0.0.</summary> + DetectedLegacyPermissionsDll = 2048 } } |