MyGit

9.0.0-rc.2.24503.2

dotnet/maui

版本发布时间: 2024-10-08 20:05:18

dotnet/maui最新发布版本:8.0.92(2024-10-16 02:14:42)

Product Fixes | Docs | Testing | Dependency Updates | Housekeeping | New Contributors | Known Issue(s) | XAML Warnings Changes

What's Changed

Product Fixes

Docs

Testing

Dependency Updates

Housekeeping

New Contributors

Known Issues

Potential .NET MAUI Project Issues due to Changes in .NET SDK Windows Targets

Changes to some of the Windows targets in the .NET SDK may cause unexpected warnings or errors in .NET MAUI projects while the .NET MAUI workload is still built to work with WindowsAppSDK 1.5.x (see https://github.com/dotnet/maui/issues/25132 for more details on upstream issues). Warnings or errors you may see:

MVVMTKCFG0003 - This version of the MVVM Toolkit requires 'Microsoft.Windows.SDK.NET.Ref' version '10.0.19041.38' or later. Please update to .NET SDK 8.0.109, 8.0.305 or 8.0.402 (or later). Alternatively, use a temporary 'Microsoft.Windows.SDK.NET.Ref' reference, which can be done by setting the 'WindowsSdkPackageVersion' property in your .csproj file. For your project configuration, it is recommended to set the package version to '10.0.19041.41'.

Could not load file or assembly 'WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. The system cannot find the file specified.":"WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709

CS0433: The type 'TextDecorations' exists in both 'Microsoft.WinUI, Version=3.0.0.0, Culture=neutral, PublicKeyToken=de31ebe4ad15742b' and 'Microsoft.Windows.SDK.NET, Version=10.0.20348.38, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

To fix these errors, you can add a property to your .csproj file:

<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"">
    <WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion>
</PropertyGroup>

If you see an error similar to the one below, you will need to add a partial identifier to the class mentioned in the error due to a new analyzer detecting code which is not Native AOT compatible:

CsWinRT1028: Class 'MauiCommandBar' implements WinRT interfaces but isn't marked partial. Type should be marked partial for trimming and AOT compatibility if passed across the WinRT ABI.

These errors should be addressed in .NET 9 RTM / GA which should reference an updated version of WindowsAppSDK.

Warning changes (XAML)

Starting wih net9.0, we know show warnings for bindings in XAML that could be compiled, but aren't. The warning code is XC0022. Compiling bindings by annotating them, or their parent with x:DataType produce more efficient code, and allow NativeAOT for your app.

You can suppress those warnings with <NoWarn>XC0022</NoWarn> in your .csproj.

More info at https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings


Full Changelog: https://github.com/dotnet/maui/compare/9.0.0-rc.1.24453.9...9.0.0-rc.2.24503.2

相关地址:原始地址 下载(tar) 下载(zip)

1、 9.0.0-rc.2.24503.2.json 730B

2、 Microsoft.AspNetCore.Components.WebView.Maui.9.0.0-rc.2.24503.2.nupkg 393.73KB

3、 Microsoft.AspNetCore.Components.WebView.Maui.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 595.53KB

4、 Microsoft.AspNetCore.Components.WebView.Maui.Msi.x64.9.0.0-rc.2.24503.2.nupkg 723.52KB

5、 Microsoft.AspNetCore.Components.WebView.Maui.Msi.x86.9.0.0-rc.2.24503.2.nupkg 595.8KB

6、 Microsoft.AspNetCore.Components.WebView.WindowsForms.9.0.0-rc.2.24503.2.nupkg 78.97KB

7、 Microsoft.AspNetCore.Components.WebView.Wpf.9.0.0-rc.2.24503.2.nupkg 77.49KB

8、 Microsoft.Maui.Controls.9.0.0-rc.2.24503.2.nupkg 26.17KB

9、 Microsoft.Maui.Controls.Build.Tasks.9.0.0-rc.2.24503.2.nupkg 2.46MB

10、 Microsoft.Maui.Controls.Build.Tasks.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 2.64MB

11、 Microsoft.Maui.Controls.Build.Tasks.Msi.x64.9.0.0-rc.2.24503.2.nupkg 2.77MB

12、 Microsoft.Maui.Controls.Build.Tasks.Msi.x86.9.0.0-rc.2.24503.2.nupkg 2.64MB

13、 Microsoft.Maui.Controls.Compatibility.9.0.0-rc.2.24503.2.nupkg 1.65MB

14、 Microsoft.Maui.Controls.Compatibility.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 1.82MB

15、 Microsoft.Maui.Controls.Compatibility.Msi.x64.9.0.0-rc.2.24503.2.nupkg 1.94MB

16、 Microsoft.Maui.Controls.Compatibility.Msi.x86.9.0.0-rc.2.24503.2.nupkg 1.82MB

17、 Microsoft.Maui.Controls.Core.9.0.0-rc.2.24503.2.nupkg 12.9MB

18、 Microsoft.Maui.Controls.Core.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 11.95MB

19、 Microsoft.Maui.Controls.Core.Msi.x64.9.0.0-rc.2.24503.2.nupkg 12.07MB

20、 Microsoft.Maui.Controls.Core.Msi.x86.9.0.0-rc.2.24503.2.nupkg 11.95MB

21、 Microsoft.Maui.Controls.Foldable.9.0.0-rc.2.24503.2.nupkg 284.34KB

22、 Microsoft.Maui.Controls.Maps.9.0.0-rc.2.24503.2.nupkg 322.98KB

23、 Microsoft.Maui.Controls.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 241.43KB

24、 Microsoft.Maui.Controls.Msi.x64.9.0.0-rc.2.24503.2.nupkg 369.18KB

25、 Microsoft.Maui.Controls.Msi.x86.9.0.0-rc.2.24503.2.nupkg 242.03KB

26、 Microsoft.Maui.Controls.Xaml.9.0.0-rc.2.24503.2.nupkg 898.97KB

27、 Microsoft.Maui.Controls.Xaml.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 1.01MB

28、 Microsoft.Maui.Controls.Xaml.Msi.x64.9.0.0-rc.2.24503.2.nupkg 1.13MB

29、 Microsoft.Maui.Controls.Xaml.Msi.x86.9.0.0-rc.2.24503.2.nupkg 1.01MB

30、 Microsoft.Maui.Core.9.0.0-rc.2.24503.2.nupkg 3.45MB

31、 Microsoft.Maui.Core.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 3.5MB

32、 Microsoft.Maui.Core.Msi.x64.9.0.0-rc.2.24503.2.nupkg 3.63MB

33、 Microsoft.Maui.Core.Msi.x86.9.0.0-rc.2.24503.2.nupkg 3.5MB

34、 Microsoft.Maui.Essentials.9.0.0-rc.2.24503.2.nupkg 1.41MB

35、 Microsoft.Maui.Essentials.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 1.46MB

36、 Microsoft.Maui.Essentials.Msi.x64.9.0.0-rc.2.24503.2.nupkg 1.59MB

37、 Microsoft.Maui.Essentials.Msi.x86.9.0.0-rc.2.24503.2.nupkg 1.46MB

38、 Microsoft.Maui.Graphics.9.0.0-rc.2.24503.2.nupkg 1.29MB

39、 Microsoft.Maui.Graphics.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 1.43MB

40、 Microsoft.Maui.Graphics.Msi.x64.9.0.0-rc.2.24503.2.nupkg 1.55MB

41、 Microsoft.Maui.Graphics.Msi.x86.9.0.0-rc.2.24503.2.nupkg 1.43MB

42、 Microsoft.Maui.Graphics.Skia.9.0.0-rc.2.24503.2.nupkg 413.86KB

43、 Microsoft.Maui.Graphics.Text.Markdig.9.0.0-rc.2.24503.2.nupkg 46.35KB

44、 Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.9.0.0-rc.2.24503.2.nupkg 110.24KB

45、 Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 323.85KB

46、 Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.Msi.x64.9.0.0-rc.2.24503.2.nupkg 451.98KB

47、 Microsoft.Maui.Graphics.Win2D.WinUI.Desktop.Msi.x86.9.0.0-rc.2.24503.2.nupkg 324.24KB

48、 Microsoft.Maui.Maps.9.0.0-rc.2.24503.2.nupkg 316.75KB

49、 Microsoft.Maui.Resizetizer.9.0.0-rc.2.24503.2.nupkg 39.06MB

50、 Microsoft.Maui.Resizetizer.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 39.24MB

51、 Microsoft.Maui.Resizetizer.Msi.x64.9.0.0-rc.2.24503.2.nupkg 39.36MB

52、 Microsoft.Maui.Resizetizer.Msi.x86.9.0.0-rc.2.24503.2.nupkg 39.24MB

53、 Microsoft.Maui.Sdk.9.0.0-rc.2.24503.2.nupkg 29.94KB

54、 Microsoft.Maui.Sdk.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 232.92KB

55、 Microsoft.Maui.Sdk.Msi.x64.9.0.0-rc.2.24503.2.nupkg 360.86KB

56、 Microsoft.Maui.Sdk.Msi.x86.9.0.0-rc.2.24503.2.nupkg 234.89KB

57、 Microsoft.Maui.Templates.net9.9.0.0-rc.2.24503.2.nupkg 1.96MB

58、 Microsoft.Maui.Templates.net9.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 1.27MB

59、 Microsoft.Maui.Templates.net9.Msi.x64.9.0.0-rc.2.24503.2.nupkg 1.4MB

60、 Microsoft.Maui.Templates.net9.Msi.x86.9.0.0-rc.2.24503.2.nupkg 1.27MB

61、 Microsoft.NET.Sdk.Maui.Manifest-9.0.100-rc.2.9.0.0-rc.2.24503.2.nupkg 27.43KB

62、 Microsoft.NET.Sdk.Maui.Manifest-9.0.100-rc.2.Msi.arm64.9.0.0-rc.2.24503.2.nupkg 221.53KB

63、 Microsoft.NET.Sdk.Maui.Manifest-9.0.100-rc.2.Msi.x64.9.0.0-rc.2.24503.2.nupkg 350.14KB

64、 Microsoft.NET.Sdk.Maui.Manifest-9.0.100-rc.2.Msi.x86.9.0.0-rc.2.24503.2.nupkg 223.68KB

查看:2024-10-08发行的版本