Skip to content

Commit

Permalink
CycloneDX#282 Add net 5 and make STJ conditional
Browse files Browse the repository at this point in the history
Signed-off-by: James Thompson <thompson.tomo@outlook.com>
  • Loading branch information
thompson-tomo committed May 20, 2024
1 parent a8801db commit c168677
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/CycloneDX.Core/CycloneDX.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard2.0;net5.0</TargetFramework>
<Product>CycloneDX.Core</Product>
<Description>A .NET Standard library for CycloneDX bill-of-material documents.</Description>
<PackageId>CycloneDX.Core</PackageId>
Expand All @@ -15,9 +15,12 @@
<PackageReference Include="JsonSchema.Net" Version="5.3.1" />
<PackageReference Include="protobuf-net" Version="3.2.26" />
<PackageReference Include="protobuf-net.BuildTools" Version="3.2.12" PrivateAssets="all" IncludeAssets="runtime;build;native;contentfiles;analyzers;buildtransitive" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Text.Json" Version="7.0.2" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Schemas\*" />
</ItemGroup>
Expand Down

0 comments on commit c168677

Please sign in to comment.