CsWinRT 2.1.0-prerelease.240602.1
Pre-releaseThis is a prerelease version of C#/WinRT focused on bringing .NET AOT support and improved trimming support to both the runtime and generated projections. This version requires the preview Windows SDK projection package from below which can be consumed by setting the following property in your C# project file:
<WindowsSdkPackageVersion>10.0.xxxxx.35-preview</WindowsSdkPackageVersion>
C#/WinRT package:
https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/2.1.0-prerelease.240602.1
.NET Windows SDK targeting packages:
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.22621.35-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.22000.35-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.20348.35-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.19041.35-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.18362.35-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.17763.35-preview
More details on the effect of these improvements and known issues can be found here: https://github.com/microsoft/CsWinRT/blob/staging/AOT/docs/aot.md
Thank you to @dongle-the-gadget, @Gaoyifei1011, @hez2010, @Jeremy-Price, @jlaanstra, @Sergio0694 for your community contributions to this significant release.
New Contributors
- @Jeremy-Price made their first contribution in #1526
- @Gaoyifei1011 made their first contribution in #1528
Full Changelog: 2.0.7.240207.1...2.1.0-prerelease.240602.1