Skip to content

Commit 6318a35

Browse files
committed
chore!: Dotnet 8
1 parent 77822d3 commit 6318a35

File tree

7 files changed

+29
-16
lines changed

7 files changed

+29
-16
lines changed

BREAKING_CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Breaking Changes
22

3+
## 4.0.0
4+
5+
- Added support for .NET 8.
6+
- Removed support for .NET 7.
7+
38
## 3.0.0
49

510
- Added support for .NET 7.

build/stage-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parameters:
2-
DotNetVersion: '7.0.102'
3-
UnoCheck_Version: '1.11.0'
4-
UnoCheck_Manifest: 'https://raw.githubusercontent.com/unoplatform/uno.check/146b0b4b23d866bef455494a12ad7ffd2f6f2d20/manifests/uno.ui.manifest.json'
2+
DotNetVersion: '8.0.401'
3+
UnoCheck_Version: '1.30.1'
4+
UnoCheck_Manifest: 'https://raw.githubusercontent.com/unoplatform/uno.check/0ca039bef4097295fc6c2c5c282ae18a797160c1/manifests/uno.ui.manifest.json'
55

66
steps:
77
- task: gitversion/setup@0

src/Navigation.Tests/Navigation.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net472</TargetFramework>
4+
<LangVersion>12.0</LangVersion>
5+
<TargetFramework>net8.0</TargetFramework>
56
<IsPackable>false</IsPackable>
67
<RootNamespace>Tests</RootNamespace>
78
<IsTestProject>True</IsTestProject>

src/SectionsNavigation.Reactive/SectionsNavigation.Reactive.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<LangVersion>11.0</LangVersion>
54
<TargetFrameworks>netstandard2.0</TargetFrameworks>
65
<RootNamespace>Chinook.SectionsNavigation</RootNamespace>
76
<Authors>nventive</Authors>

src/SectionsNavigation.Uno.WinUI/SectionsNavigation.Uno.WinUI.csproj

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
22
<PropertyGroup>
3-
<TargetFrameworks>net7.0;net7.0-ios;net7.0-maccatalyst;net7.0-macos;net7.0-android;net7.0-windows10.0.19041;</TargetFrameworks>
4-
<LangVersion>11.0</LangVersion>
3+
<TargetFrameworks>net8.0;net8.0-ios;net8.0-maccatalyst;net8.0-macos;net8.0-android;net8.0-windows10.0.19041;</TargetFrameworks>
4+
<LangVersion>12.0</LangVersion>
55
<!-- Ensures the .xr.xml files are generated in a proper layout folder -->
66
<GenerateLibraryLayout>true</GenerateLibraryLayout>
77
<RootNamespace>Chinook.SectionsNavigation</RootNamespace>
@@ -36,17 +36,21 @@
3636
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
3737
</ItemGroup>
3838

39-
<ItemGroup Condition="'$(TargetFramework)'=='net7.0-windows10.0.19041'">
39+
<ItemGroup Condition="'$(TargetFramework)'=='net8.0-windows10.0.19041'">
4040
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.1.3" />
4141
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.22000.24" />
4242
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.22000.24" />
4343
</ItemGroup>
4444

45-
<PropertyGroup Condition="'$(TargetFramework)'=='net7.0'">
45+
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0-windows10.0.19041'">
46+
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
47+
</PropertyGroup>
48+
49+
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0'">
4650
<DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
4751
</PropertyGroup>
4852

49-
<ItemGroup Condition="'$(TargetFramework)'!='net7.0-windows10.0.19041'">
53+
<ItemGroup Condition="'$(TargetFramework)'!='net8.0-windows10.0.19041'">
5054
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
5155
<Compile Update="**\*.xaml.cs">
5256
<DependentUpon>%(Filename)</DependentUpon>

src/SectionsNavigation.Uno.WinUI/winappsdk-workaround.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
Workaround to avoid including Uno.Toolkit.UI XBFs in the PRI file:
44
> C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5097,5):
5-
> error MSB3030: Could not copy the file "D:\a\1\s\src\Uno.Toolkit.UI\obj\Uno.Toolkit.WinUI\Release\net7.0-windows10.0.19041\Controls\AutoLayout\AutoLayout.xbf" because it was not found.
5+
> error MSB3030: Could not copy the file "D:\a\1\s\src\Uno.Toolkit.UI\obj\Uno.Toolkit.WinUI\Release\net8.0-windows10.0.19041\Controls\AutoLayout\AutoLayout.xbf" because it was not found.
66
> [D:\a\1\s\src\Uno.Toolkit.RuntimeTests\Uno.Toolkit.RuntimeTests.WinUI.csproj]
77
Just <Import /> this file into the winui project appearing in the `[]` bracket.
88
-->

src/StackNavigation.Uno.WinUI/StackNavigation.Uno.WinUI.csproj

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
22
<PropertyGroup>
3-
<TargetFrameworks>net7.0;net7.0-ios;net7.0-maccatalyst;net7.0-macos;net7.0-android;net7.0-windows10.0.19041;</TargetFrameworks>
4-
<LangVersion>11.0</LangVersion>
3+
<TargetFrameworks>net8.0;net8.0-ios;net8.0-maccatalyst;net8.0-macos;net8.0-android;net8.0-windows10.0.19041;</TargetFrameworks>
4+
<LangVersion>12.0</LangVersion>
55
<!-- Ensures the .xr.xml files are generated in a proper layout folder -->
66
<GenerateLibraryLayout>true</GenerateLibraryLayout>
77
<RootNamespace>Chinook.StackNavigation</RootNamespace>
@@ -35,17 +35,21 @@
3535
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
3636
</ItemGroup>
3737

38-
<ItemGroup Condition="'$(TargetFramework)'=='net7.0-windows10.0.19041'">
38+
<ItemGroup Condition="'$(TargetFramework)'=='net8.0-windows10.0.19041'">
3939
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.1.3" />
4040
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" RuntimeFrameworkVersion="10.0.22000.24" />
4141
<FrameworkReference Update="Microsoft.Windows.SDK.NET.Ref" TargetingPackVersion="10.0.22000.24" />
4242
</ItemGroup>
4343

44-
<PropertyGroup Condition="'$(TargetFramework)'=='net7.0'">
44+
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0-windows10.0.19041'">
45+
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
46+
</PropertyGroup>
47+
48+
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0'">
4549
<DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
4650
</PropertyGroup>
4751

48-
<ItemGroup Condition="'$(TargetFramework)'!='net7.0-windows10.0.19041'">
52+
<ItemGroup Condition="'$(TargetFramework)'!='net8.0-windows10.0.19041'">
4953
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml" />
5054
<Compile Update="**\*.xaml.cs">
5155
<DependentUpon>%(Filename)</DependentUpon>

0 commit comments

Comments
 (0)