Update NuGet packages.
Most notably YamlDotNet which has performance improvements for large files such as our map files.
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="NUnit" Version="3.12.0" />
|
<PackageReference Include="NUnit" Version="3.12.0" />
|
||||||
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
|
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Content.Client\Content.Client.csproj" />
|
<ProjectReference Include="..\Content.Client\Content.Client.csproj" />
|
||||||
|
|||||||
@@ -13,11 +13,11 @@
|
|||||||
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.0">
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.0">
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.0" />
|
||||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="3.1.4" />
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="5.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -6,13 +6,12 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal;
|
|||||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal;
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal;
|
||||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping;
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping;
|
||||||
|
|
||||||
|
#pragma warning disable EF1001
|
||||||
namespace Content.Server.Database
|
namespace Content.Server.Database
|
||||||
{
|
{
|
||||||
// Taken from https://github.com/npgsql/efcore.pg/issues/1158
|
// Taken from https://github.com/npgsql/efcore.pg/issues/1158
|
||||||
// To support inet -> (IPAddress, int) mapping.
|
// To support inet -> (IPAddress, int) mapping.
|
||||||
#pragma warning disable EF1001
|
|
||||||
public class CustomNpgsqlTypeMappingSource : NpgsqlTypeMappingSource
|
public class CustomNpgsqlTypeMappingSource : NpgsqlTypeMappingSource
|
||||||
#pragma warning restore EF1001
|
|
||||||
{
|
{
|
||||||
public CustomNpgsqlTypeMappingSource(
|
public CustomNpgsqlTypeMappingSource(
|
||||||
TypeMappingSourceDependencies dependencies,
|
TypeMappingSourceDependencies dependencies,
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="NUnit" Version="3.12.0" />
|
<PackageReference Include="NUnit" Version="3.12.0" />
|
||||||
<PackageReference Include="NUnit.ConsoleRunner" Version="3.10.0" />
|
<PackageReference Include="NUnit.ConsoleRunner" Version="3.11.1" />
|
||||||
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
|
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Content.Client\Content.Client.csproj" />
|
<ProjectReference Include="..\Content.Client\Content.Client.csproj" />
|
||||||
|
|||||||
Reference in New Issue
Block a user