summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-03 02:39:20 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-04 23:49:06 -0500
commit3744e2f1e5505c9d15fb3bc985ad147a33621048 (patch)
treecf6c6accf9024b553a1772658720f909c6c6b25f /src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs
parenta2a0469cd024e2fd4b35503db152ba1a6df712ec (diff)
downloadSMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.tar.gz
SMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.tar.bz2
SMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.zip
add SMAPI 3.0 compatibility strict mode (#606)
Diffstat (limited to 'src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs')
-rw-r--r--src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs b/src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs
index 6631b01d..0a6e5758 100644
--- a/src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs
+++ b/src/StardewModdingAPI.Toolkit.CoreInterfaces/ISemanticVersion.cs
@@ -17,9 +17,11 @@ namespace StardewModdingAPI
/// <summary>The patch version for backwards-compatible bug fixes.</summary>
int PatchVersion { get; }
+#if !SMAPI_3_0_STRICT
/// <summary>An optional build tag.</summary>
[Obsolete("Use " + nameof(ISemanticVersion.PrereleaseTag) + " instead")]
string Build { get; }
+#endif
/// <summary>An optional prerelease tag.</summary>
string PrereleaseTag { get; }