.NET 8 update.

This commit is contained in:
Fabian König
2024-02-01 05:23:51 +01:00
committed by GitHub
parent 958ab1dfbb
commit ccaca1ccd5
6 changed files with 32 additions and 95 deletions
-3
View File
@@ -5,9 +5,6 @@
<StartupObject>BNetServer.Server</StartupObject>
<ApplicationIcon>Red.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Packaging.Tools.Trimming" Version="1.1.0-preview1-26619-01" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Framework\Framework.csproj" />
</ItemGroup>
+2 -2
View File
@@ -13,8 +13,8 @@ namespace Framework.Cryptography
if (IsInitialized)
throw new InvalidOperationException("PacketCrypt already initialized!");
_serverEncrypt = new AesGcm(key);
_clientDecrypt = new AesGcm(key);
_serverEncrypt = new AesGcm(key, 12);
_clientDecrypt = new AesGcm(key, 12);
IsInitialized = true;
}
+2 -2
View File
@@ -5,8 +5,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.21.12" />
<PackageReference Include="MySqlConnector" Version="2.2.5" />
<PackageReference Include="Google.Protobuf" Version="3.25.2" />
<PackageReference Include="MySqlConnector" Version="2.3.5" />
</ItemGroup>
</Project>
+3 -3
View File
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\default.props" />
<PropertyGroup>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Framework\Framework.csproj" />