Skip to content

Commit

Permalink
Updated the dotnet target framework to 8.
Browse files Browse the repository at this point in the history
Also, disabled WinRT AoT optimization, as it triggers a compile error within the Windows sdk.
Patch version bump to 1.3.6 due to the new framework requirement
  • Loading branch information
sgrottel committed Nov 6, 2024
1 parent ca9b32a commit 73d88d5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Test/Test.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>

<IsPackable>false</IsPackable>

<OutputType>WinExe</OutputType>

<RootNamespace>SG.Checkouts_Overview.Test</RootNamespace>
<CsWinRTAotOptimizerEnabled>false</CsWinRTAotOptimizerEnabled>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.2" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
5 changes: 3 additions & 2 deletions app/Checkouts-Overview.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
<RootNamespace>SG.Checkouts_Overview</RootNamespace>
<UseWPF>true</UseWPF>
<ApplicationIcon>..\doc\icon\332 clone.ico</ApplicationIcon>
<Authors>SGrottel</Authors>
<Product>Checkouts Overview</Product>
<Description>Visual overview of local repository checkouts</Description>
<Copyright>Copyright 2021-2024, by SGrottel</Copyright>
<Version>1.3.5</Version>
<Version>1.3.6</Version>
<Nullable>enable</Nullable>
<CsWinRTAotOptimizerEnabled>false</CsWinRTAotOptimizerEnabled>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion app/Properties/PublishProfiles/FolderProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishDir>bin\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>

0 comments on commit 73d88d5

Please sign in to comment.