Skip to content

Commit

Permalink
adding support of .NET 8, removing .NET 5
Browse files Browse the repository at this point in the history
  • Loading branch information
salaros committed Feb 10, 2025
1 parent ad9f63d commit 7bdb56e
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions src/CodeCave.Threejs.Entities.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net5.0;netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>net8.0;netstandard2.0;net45</TargetFrameworks>
<OutputType>library</OutputType>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<!-- Multiple targets can cause obj folder locking by concurrent builds -->
<BuildInParallel>false</BuildInParallel>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>

<PropertyGroup>
<IsPackable>true</IsPackable>
<IncludeSymbols>true</IncludeSymbols>
<DebugType>embedded</DebugType>
<IncludeSymbols>true</IncludeSymbols>
<DebugType>embedded</DebugType>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>0.8.3</Version>
<FileVersion>0.8.3</FileVersion>
<AssemblyVersion>0.8.3</AssemblyVersion>
<Version>0.9.0</Version>
<FileVersion>0.9.0</FileVersion>
<AssemblyVersion>0.9.0</AssemblyVersion>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/CodeCavePro/threejs-entities.git</PackageProjectUrl>
<RepositoryUrl>https://github.com/CodeCavePro/threejs-entities.git</RepositoryUrl>
Expand All @@ -24,10 +25,22 @@

<ItemGroup>
<PackageReference Include="JsonSubTypes" Version="1.8.*" />
<PackageReference Include="Newtonsoft.Json" Version="[10.0.1, 13.1)" />
<PackageReference Include="System.Text.Json" Version="3.1.*" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="Newtonsoft.Json" Version="[12.*, 13.1)" />
<PackageReference Include="System.Text.Json" Version="8.0.5" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Text.Json" Version="5.0.*" Condition="'$(TargetFramework)' == 'net5.0'" />
<PackageReference Include="System.Text.Json" Version="6.0.*" Condition="'$(TargetFramework)' == 'net6.0'" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="System.Memory">
<Version>4.6.0</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory">
<Version>4.6.0</Version>
</PackageReference>
</ItemGroup>

</Project>

0 comments on commit 7bdb56e

Please sign in to comment.