CsWinRT 2.1.0-prerelease.240722.1
Pre-releaseThis is a prerelease version of C#/WinRT with bug fixes and improvements to our .NET AOT support that we shipped in last month's prerelease. This version requires the updated 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.37-preview</WindowsSdkPackageVersion>
C#/WinRT package:
https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/2.1.0-prerelease.240722.1
.NET Windows SDK targeting packages:
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.26100.37-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.22621.37-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.22000.37-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.20348.37-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.19041.37-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.18362.37-preview
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.17763.37-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
What's Changed
- Unify all IIDs into 'IID' type by @Sergio0694 in #1620
- Add missing 'readonly' modifiers to static (P)IID fields by @Sergio0694 in #1612
- Trim 'ABI.System.EventHandler' when not needed by @Sergio0694 in #1619
- Fix .NET Standard authoring support by @manodasanW in #1632
- Fix 'CsWinRTIncludes' check in .targets file by @Sergio0694 in #1625
- Update TouchdownBuildTask to v4 by @DefaultRyan in #1635
- Fix couple build issues related to authoring scenarios by @manodasanW in #1643
- WUX/MUX prototype by @jkoritzinsky in #1421
- Update ESRP signing by @manodasanW in #1651
- Merge master into staging branch by @manodasanW in #1652
- Add 'CsWinRTMergeReferencedActivationFactories' option by @Sergio0694 in #1637
- Add WUX 'DispatcherQueueSynchronizationContext' type by @Sergio0694 in #1647
- Fixing various AOT bugs by @manodasanW in #1648
- Fix boxing of types by @manodasanW in #1646
- Fix invalid cast exception with stream APIs and make code fixer emit diagnostics as warnings by @manodasanW in #1654
- Fix IDIC casts to invalid WinRT interfaces by @manodasanW in #1659
- Fix incorrect AOT runtime feature check by @Sergio0694 in #1665
- Skip checking COM objects on AOT by @Sergio0694 in #1662
- Add missing 'readonly' modifiers by @Sergio0694 in #1664
- Improve codegen for merged activation factories by @Sergio0694 in #1660
- Simplify WUX feature switch property by @Sergio0694 in #1658
- Add -public_exclusiveto flag to enable implementing exclusiveto interfaces in consuming projects by @jevansaks in #1670
- Add 'TryGetDataUnsafe' overload for 'IMemoryBufferReference' by @Sergio0694 in #1673
- Fix IDIC casts throwing exceptions for is operator checks by @manodasanW in #1676
- Fix class name mapping for WUX types by @Sergio0694 in #1679
- Make ICustomPropertyProvider AOT safe by @manodasanW in #1677
New Contributors
- @DefaultRyan made their first contribution in #1635
Full Changelog: 2.1.0-prerelease.240602.1...2.1.0-prerelease.240722.1