Updated fastcloner to 3.3.4

This commit is contained in:
Chomp
2025-05-21 17:40:33 +01:00
parent c39ab9e1e7
commit b097fb35e6
3 changed files with 23 additions and 36 deletions
+7 -6
View File
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\Build.props"/>
<Import Project="..\Build.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
@@ -8,11 +8,12 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.14.0"/>
<ProjectReference Include="..\Libraries\SPTarkov.Server.Core\SPTarkov.Server.Core.csproj"/>
<ProjectReference Include="..\Libraries\SPTarkov.Server.Assets\SPTarkov.Server.Assets.csproj"/>
<ProjectReference Include="..\Libraries\SPTarkov.Common\SPTarkov.Common.csproj"/>
<ProjectReference Include="..\Libraries\SPTarkov.DI\SPTarkov.DI.csproj"/>
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
<PackageReference Include="FastCloner" Version="3.3.4" />
<ProjectReference Include="..\Libraries\SPTarkov.Server.Core\SPTarkov.Server.Core.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.Server.Assets\SPTarkov.Server.Assets.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.Common\SPTarkov.Common.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.DI\SPTarkov.DI.csproj" />
</ItemGroup>
<ItemGroup>
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\..\Build.props"/>
<Import Project="..\..\Build.props" />
<PropertyGroup>
<PackageId>SPTarkov.Server.Core</PackageId>
@@ -16,17 +16,17 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\SPTarkov.DI\SPTarkov.DI.csproj"/>
<ProjectReference Include="..\SPTarkov.Reflection\SPTarkov.Reflection.csproj"/>
<ProjectReference Include="..\SPTarkov.DI\SPTarkov.DI.csproj" />
<ProjectReference Include="..\SPTarkov.Reflection\SPTarkov.Reflection.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.IO.Hashing" Version="9.0.1"/>
<PackageReference Include="FastCloner" Version="3.3.2"/>
<PackageReference Include="System.IO.Hashing" Version="9.0.1" />
<PackageReference Include="FastCloner" Version="3.3.4" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" Visible="false" PackagePath=""/>
<None Include="..\..\LICENSE" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>
<PropertyGroup>
@@ -40,21 +40,7 @@
<!-- Generates the ProgramStatics class with the build information -->
<Target Name="GenerateProgramStatics" BeforeTargets="BeforeBuild">
<WriteLinesToFile
File="Utils/ProgramStatics.Generated.cs"
Lines="
using SPTarkov.Server.Core.Models.Enums%3B
namespace SPTarkov.Server.Core.Utils%3B
public static partial class ProgramStatics
{
private static string? _sptVersion = &quot;$(SptVersion)&quot;%3B
private static string? _commit = &quot;$(SptCommit)&quot;%3B
private static double? _buildTime = $(SptBuildTime)%3B
private static EntryType? BuildType = EntryType.$(SptBuildType)%3B
}
" Overwrite="true"/>
<WriteLinesToFile File="Utils/ProgramStatics.Generated.cs" Lines="&#xD;&#xA;using SPTarkov.Server.Core.Models.Enums%3B&#xD;&#xA;&#xD;&#xA;namespace SPTarkov.Server.Core.Utils%3B&#xD;&#xA;&#xD;&#xA;public static partial class ProgramStatics&#xD;&#xA;{&#xD;&#xA; private static string? _sptVersion = &quot;$(SptVersion)&quot;%3B&#xD;&#xA; private static string? _commit = &quot;$(SptCommit)&quot;%3B&#xD;&#xA; private static double? _buildTime = $(SptBuildTime)%3B&#xD;&#xA; private static EntryType? BuildType = EntryType.$(SptBuildType)%3B&#xD;&#xA;}&#xD;&#xA;" Overwrite="true" />
</Target>
</Project>
+9 -9
View File
@@ -1,25 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\Build.props"/>
<Import Project="..\Build.props" />
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FastCloner" Version="3.3.2"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1"/>
<PackageReference Include="MSTest" Version="3.6.1"/>
<PackageReference Include="FastCloner" Version="3.3.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest" Version="3.6.1" />
</ItemGroup>
<ItemGroup>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting"/>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Libraries\SPTarkov.Server.Core\SPTarkov.Server.Core.csproj"/>
<ProjectReference Include="..\Libraries\SPTarkov.DI\SPTarkov.DI.csproj"/>
<ProjectReference Include="..\Libraries\SPTarkov.Common\SPTarkov.Common.csproj"/>
<ProjectReference Include="..\Libraries\SPTarkov.Server.Core\SPTarkov.Server.Core.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.DI\SPTarkov.DI.csproj" />
<ProjectReference Include="..\Libraries\SPTarkov.Common\SPTarkov.Common.csproj" />
</ItemGroup>
<ItemGroup>
@@ -29,7 +29,7 @@
</ItemGroup>
<ItemGroup>
<Compile Remove="Tests\Mock\MockSptLogger.cs"/>
<Compile Remove="Tests\Mock\MockSptLogger.cs" />
</ItemGroup>
</Project>