afandawork 1 год назад
Родитель
Сommit
52add5aab2

+ 1 - 6
Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj

@@ -69,13 +69,8 @@
     <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="9.0.5" />
     <PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="9.0.5" />
     <PackageReference Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="9.0.5" />
+    <PackageReference Include="XiHan.Framework.Utils"  Version="0.9.5" />
 	<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.5.1" />
   </ItemGroup>
 
-  <ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
-    <PackageReference Include="XiHan.Framework.Utils">
-      <Version>0.9.3</Version>
-    </PackageReference>
-  </ItemGroup>
-
 </Project>

+ 1 - 1
Admin.NET/Admin.NET.Core/Update/AutoVersionUpdate.cs

@@ -134,7 +134,7 @@ public static class AutoVersionUpdate
     /// <returns></returns>
     private static string GetEntryAssemblyCurrentVersion()
     {
-        var entryAssemblyVersion = AssemblyHelper.GetEntryAssemblyVersion();
+        var entryAssemblyVersion = ReflectionHelper.GetEntryAssemblyVersion();
         return entryAssemblyVersion.ToString(3);
     }