Skip to content

CsWinRT v1.1.4

Compare
Choose a tag to compare
@Scottj1s Scottj1s released this 17 Mar 17:10
537d87a

Release Notes

This release of C#/WinRT is aligned with the .NET April 2021 Update, and includes a couple bugfixes to the runtime and Windows SDK projections. For a complete list of additions and bug-fixes, refer to the Release 1.1.4 Milestone. The v1.1.4 C#/WinRT NuGet package also includes updates to authoring support, which includes automating the runtimeconfig.json file and removing the need for manual edits to the native application project file.

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

.NET reference packages:
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.19041.15
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.18362.15
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.17763.15

This release includes the following fixes:

  • Fixes for System.ObjectDisposedException issues (#682)
  • DateTimeOffset marshaling now supports negative FileTime, making it compatible with .NET Core 3.
    Thank you @huoyaoyuan for this community contribution!
  • Fixed a regression involving typeof(Type) checks that fixes loading default styles of custom control: microsoft/microsoft-ui-xaml#4414
  • Fixed a regression involving InvalidCastException for a few types such as TimeSpan: microsoft/microsoft-ui-xaml#4461

Changes:

  • 537d87a Update ComWrappersSupport (#771)
  • 6e11955 Fixed regression in determining whether to provide IReference implementation, which dropped TimeSpan and a few other value types (#770)
  • d968022 Update AuthoringWinUITest (#769)
  • 2513fe2 Update targets (#765)
  • 006ad4e Fix GC issues with static events. (#759)
  • 0e66e66 Fix typeof(Type) checks to account for RuntimeType (#760)
  • d0051af Use .NET Core 3.1 compatible marshaling for DateTimeOffset. (#761)

This list of changes was auto generated.