Skip to content

CsWinRT 2.1.0-prerelease.240801.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@manodasanW manodasanW released this 02 Aug 19:30
· 13 commits to staging/AOT since this release
b1ecedd

This is a prerelease version of C#/WinRT with more bug fixes and improvements to our .NET AOT support. Note that in this release that the WinRT.BindableCustomProperty attribute added in last week's prerelease was renamed to WinRT.GeneratedBindableCustomProperty based on early feedback. 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.37-preview</WindowsSdkPackageVersion>

C#/WinRT package:
https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/2.1.0-prerelease.240801.1

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

  • Fix property initializers and derived ObservableCollection by @manodasanW in #1686
  • Fix merged component support in non-WinRT component projects by @Sergio0694 in #1680
  • Fix nullable scenarios when xaml asks for type and fix vtable for event handlers by @manodasanW in #1684
  • Remove redundant items in .targets by @Sergio0694 in #1687
  • Fix source generator for exception types and fix is operator by @manodasanW in #1682
  • Fix errors when consumers are using InternalsVisisbleTo by @manodasanW in #1688
  • Fix GetGuidSignature for event args by @manodasanW in #1692
  • Fix regression in IBindableIterator by @manodasanW in #1690
  • Rename BindableCustomProperty attribute to include Generated prefix by @manodasanW in #1691
  • Updating manifest which was forgotten when type was added by @manodasanW in #1694
  • Fix scenario where generic implementation type doesn't have type factory intialized by @manodasanW in #1693
  • Guard against potential null for RCW type by @manodasanW in #1695

Full Changelog: 2.1.0-prerelease.240722.1...2.1.0-prerelease.240801.1