Skip to content

Commit d276a6e

Browse files
committed
- update C# and .NET versions in NuGet readme's
- use Uno.Sdk for Uno Extensions based NuGets - adjust versions in TFMs to valid values - update ThemeResourceGenerator to .NET 8 - fix for generated code namespace missing from Thickness helpers invocations in non-core NuGets - set codegen project langversion to C# 13 - improve Regenerate.ps1 to handle cleanup of any 3rd party source generator
1 parent e4b4849 commit d276a6e

File tree

16 files changed

+41
-14
lines changed

16 files changed

+41
-14
lines changed

global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"msbuild-sdks": {
3+
"Uno.Sdk": "5.6.54"
4+
},
25
"sdk": {
36
"version": "9.0.200",
47
"rollForward": "latestPatch"

src/CSharpMarkup.WinUI.LiveChartsCore.SkiaSharpView/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Enjoy a Flutter-like UI development experience with .NET Hot Reload and the best
66

77
No XAML / HTML / JavaScript / CSS required
88

9-
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 11 and .NET 7.
9+
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 13 and .NET 8.
1010

1111
[Docs](https://github.com/VincentH-Net/CSharpForMarkup#readme)
1212

src/CSharpMarkup.WinUI.Uno.Extensions.Navigation.Toolkit/CSharpMarkup.WinUI.Uno.Extensions.Navigation.Toolkit.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
1+
<Project Sdk="Uno.Sdk">
22
<PropertyGroup>
33
<Configurations>Debug;Release;Generate</Configurations>
44
<IsUno>true</IsUno>
55

66
<!-- Workaround for PRI resource build errors and dotnet build support, from https://github.com/dotnet/maui/issues/5886#issuecomment-1123106200 -->
77
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
88
<GenerateLibraryLayout>true</GenerateLibraryLayout>
9+
10+
<!-- Because we are using Uno.Sdk -->
11+
<EnableDefaultPageItems>false</EnableDefaultPageItems>
12+
<UnoSingleProject>true</UnoSingleProject>
13+
<OutputType>Library</OutputType>
914
</PropertyGroup>
1015

1116
<PropertyGroup>

src/CSharpMarkup.WinUI.Uno.Extensions.Navigation.Toolkit/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Enjoy a Flutter-like UI development experience with .NET Hot Reload and the best
66

77
No XAML / HTML / JavaScript / CSS required
88

9-
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 11 and .NET 7.
9+
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 13 and .NET 8.
1010

1111
[Docs](https://github.com/VincentH-Net/CSharpForMarkup#readme)
1212

src/CSharpMarkup.WinUI.Uno.Extensions.Navigation.Toolkit/global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"msbuild-sdks": {
3+
"Uno.Sdk": "5.6.54"
4+
},
25
"sdk": {
36
"version": "9.0.200",
47
"rollForward": "latestPatch"

src/CSharpMarkup.WinUI.Uno.Extensions.Navigation/CSharpMarkup.WinUI.Uno.Extensions.Navigation.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
1+
<Project Sdk="Uno.Sdk">
22
<PropertyGroup>
33
<Configurations>Debug;Release;Generate</Configurations>
44
<IsUno>true</IsUno>
55

66
<!-- Workaround for PRI resource build errors and dotnet build support, from https://github.com/dotnet/maui/issues/5886#issuecomment-1123106200 -->
77
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
88
<GenerateLibraryLayout>true</GenerateLibraryLayout>
9+
10+
<!-- Because we are using Uno.Sdk -->
11+
<EnableDefaultPageItems>false</EnableDefaultPageItems>
12+
<UnoSingleProject>true</UnoSingleProject>
13+
<OutputType>Library</OutputType>
914
</PropertyGroup>
1015

1116
<PropertyGroup>

src/CSharpMarkup.WinUI.Uno.Extensions.Navigation/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Enjoy a Flutter-like UI development experience with .NET Hot Reload and the best
66

77
No XAML / HTML / JavaScript / CSS required
88

9-
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 11 and .NET 7.
9+
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 13 and .NET 8.
1010

1111
[Docs](https://github.com/VincentH-Net/CSharpForMarkup#readme)
1212

src/CSharpMarkup.WinUI.Uno.Extensions.Navigation/global.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"msbuild-sdks": {
3+
"Uno.Sdk": "5.6.54"
4+
},
25
"sdk": {
36
"version": "9.0.200",
47
"rollForward": "latestPatch"

src/CSharpMarkup.WinUI.Uno.Extensions.Reactive/CSharpMarkup.WinUI.Uno.Extensions.Reactive.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
<Project Sdk="MSBuild.Sdk.Extras/3.0.44">
1+
<Project Sdk="Uno.Sdk">
22
<PropertyGroup>
33
<Configurations>Debug;Release;Generate</Configurations>
44
<IsUno>true</IsUno>
55

66
<!-- Workaround for PRI resource build errors and dotnet build support, from https://github.com/dotnet/maui/issues/5886#issuecomment-1123106200 -->
77
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
88
<GenerateLibraryLayout>true</GenerateLibraryLayout>
9+
10+
<!-- Because we are using Uno.Sdk -->
11+
<EnableDefaultPageItems>false</EnableDefaultPageItems>
12+
<UnoSingleProject>true</UnoSingleProject>
13+
<OutputType>Library</OutputType>
914
</PropertyGroup>
1015

1116
<PropertyGroup>

src/CSharpMarkup.WinUI.Uno.Extensions.Reactive/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Enjoy a Flutter-like UI development experience with .NET Hot Reload and the best
66

77
No XAML / HTML / JavaScript / CSS required
88

9-
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 11 and .NET 7.
9+
This release targets WinUI 3 (Windows App SDK) and Uno Platform - including browser webassembly - with C# 13 and .NET 8.
1010

1111
[Docs](https://github.com/VincentH-Net/CSharpForMarkup#readme)
1212

0 commit comments

Comments
 (0)