Skip to content

CsWinRT v1.2.6

Compare
Choose a tag to compare
@Scottj1s Scottj1s released this 13 May 22:43
f84a3d5

Release Notes

This release of C#/WinRT is aligned with the .NET June 2021 Update, and includes a couple bugfixes to the runtime and Windows SDK projections, as well as updates to the C#/WinRT package. For a complete list of fixes and updates, refer to the Release 1.2.6 Milestone.

C#/WinRT package:
https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/1.2.6

.NET Windows SDK targeting packages:
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.19041.17
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.18362.17
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.17763.17

This release includes the following changes:

  • Runtime fix with RPC_E_WRONG_THREAD exceptions when passing C# managed objects as parameters (#612)
  • Performance improvements by caching Type.GetType() calls (#785)
  • Enable FastUpToDateCheck in VS for C#/WinRT projection project authors (#804)
  • Removed assembly-level SupportedOSPlatformAttribute to enable C#/WinRT projection authors to apply a later version (#792)

Changes:

  • f84a3d5 Revert "Fix InvalidCastExceptions from RCW reuse (#833)" (#843)
  • 56b520f cache GetHelperType lookup (#838)
  • 396128c Add free threaded marshaling to all managed objects (#836)
  • 3f5dd34 Fix InvalidCastExceptions from RCW reuse (#833)
  • 9359ad7 removed assembly-level SupportedOSPlatformAttribute to enable projection authors to apply a more restricted (later) version (#829)
  • ef2472e Add caching for type lookup of runtime class name, to address exception storm perf issue (#828)

This list of changes was auto generated.