Skip to content

Commit

Permalink
update csproj to net 9
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKoell committed Sep 12, 2024
1 parent 2bbed7c commit c882e29
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>NU1603,NU1701,NU5100,CS8981</NoWarn>
<NoWarn>$(NoWarn);NU1603,NU1701,NU5100,CS8981;WFO1000</NoWarn>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU;x64;ARM64</Platforms>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net472;net6.0-windows;net7.0-windows;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net472;net8.0-windows;net9.0-windows</TargetFrameworks>
<RuntimeIdentifier Condition="$(Platform) == 'x64'">win-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition="$(Platform) == 'ARM64'">win-arm64</RuntimeIdentifier>
<UseWindowsForms>true</UseWindowsForms>
Expand All @@ -35,17 +35,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0-rc.1.24431.7" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.49-beta">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0-windows' or '$(TargetFramework)' == 'net6.0-windows' or '$(TargetFramework)' == 'net7.0-windows' or '$(TargetFramework)' == 'net8.0-windows'">
<PackageReference Include="System.Management" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<None Include="Resources\Images\RoyalApps_1024.png" Pack="true" PackagePath="\" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
Expand Down Expand Up @@ -75,4 +71,13 @@
</Content>
</ItemGroup>


<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows'">
<PackageReference Include="System.Management" Version="8.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0-windows'">
<PackageReference Include="System.Management" Version="9.0.0-rc.1.24431.7" />
</ItemGroup>

</Project>

0 comments on commit c882e29

Please sign in to comment.