diff --git a/Directory.Build.props b/Directory.Build.props index 6818190c..9af790f4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -72,6 +72,6 @@ true false - 4.17.0.0 + 4.17.1.0 diff --git a/ONIMods.sln b/ONIMods.sln index 5efe40c1..7c87885e 100644 --- a/ONIMods.sln +++ b/ONIMods.sln @@ -347,7 +347,6 @@ Global {86E9BA14-F3B4-45B6-9DE6-537F6EF6EB30}.Debug|Vanilla.ActiveCfg = Debug|Vanilla {86E9BA14-F3B4-45B6-9DE6-537F6EF6EB30}.Debug|Vanilla.Build.0 = Debug|Vanilla {86E9BA14-F3B4-45B6-9DE6-537F6EF6EB30}.Release|Mergedown.ActiveCfg = Release|Mergedown - {86E9BA14-F3B4-45B6-9DE6-537F6EF6EB30}.Release|Mergedown.Build.0 = Release|Mergedown {86E9BA14-F3B4-45B6-9DE6-537F6EF6EB30}.Release|Vanilla.ActiveCfg = Release|Vanilla {86E9BA14-F3B4-45B6-9DE6-537F6EF6EB30}.Release|Vanilla.Build.0 = Release|Vanilla {E367FD41-DCD7-4921-82A9-27783206D7BD}.Debug|Mergedown.ActiveCfg = Debug|Mergedown diff --git a/PLibCore/PLibCore.csproj b/PLibCore/PLibCore.csproj index 356f1d60..dd2b405c 100644 --- a/PLibCore/PLibCore.csproj +++ b/PLibCore/PLibCore.csproj @@ -12,10 +12,23 @@ false true Vanilla;Mergedown + +namespace PeterHan.PLib { + public static class PVersion { + public const string VERSION = "$(PLibVersion)"%3B + } +} + bin\$(Platform)\Release\PLibCore.xml + + + + + + diff --git a/PLibCore/PVersion.cs b/PLibCore/PVersion.cs deleted file mode 100644 index e166c338..00000000 --- a/PLibCore/PVersion.cs +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2024 Peter Han - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software - * and associated documentation files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or - * substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -namespace PeterHan.PLib { - /// - /// Used to pass the PLib version in the ILMerged assembly since the PLib version will - /// not be included in the file version. - /// - public static class PVersion { - /// - /// The PLib version. - /// - public const string VERSION = "4.16.0.0"; - } -}