Skip to content

Commit

Permalink
build: add net6 target
Browse files Browse the repository at this point in the history
Using the SDK stlye project, it is fairly easy to target multiple
frameworks. For support here, a Crestron package update was necessary,
but targeting both .NET6 & .NET Framework 4.7.2 is possible. This should
allow us to support .NET 6 on 4-series processors, while still
supporting .NET Framework 4.7.2 on VC-4.
  • Loading branch information
andrew-welker committed Dec 28, 2023
1 parent beb8e53 commit dafc036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pepperdash Core/PepperDash_Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<RootNamespace>PepperDash.Core</RootNamespace>
<AssemblyName>PepperDashCore</AssemblyName>
<TargetFramework>net472</TargetFramework>
<TargetFrameworks>net472;net6</TargetFrameworks>
<Deterministic>false</Deterministic>
<NeutralLanguage>en</NeutralLanguage>
<OutputPath>bin\$(Configuration)\</OutputPath>
Expand Down Expand Up @@ -30,7 +30,7 @@
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Crestron.SimplSharp.SDK.Library" Version="2.19.35" />
<PackageReference Include="Crestron.SimplSharp.SDK.Library" Version="2.20.42" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2">
<Aliases>Full</Aliases>
</PackageReference>
Expand Down

0 comments on commit dafc036

Please sign in to comment.