Skip to content

Commit

Permalink
Add net8.0 target, drop net6.0 (#1744)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Nov 19, 2024
1 parent 2333d39 commit b6b7ccf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="Templates\Class.liquid" />
<EmbeddedResource Include="Templates\ConvertToClass.liquid" />
Expand Down
4 changes: 2 additions & 2 deletions src/NJsonSchema/NJsonSchema.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;netstandard2.0;net462</TargetFrameworks>
<TargetFrameworks>net8.0;netstandard2.0;net462</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -17,7 +17,7 @@
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>

<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<PackageReference Include="System.Text.Json" />
</ItemGroup>

Expand Down

0 comments on commit b6b7ccf

Please sign in to comment.