CsWinRT v1.3.5
Release Notes
This release of C#/WinRT includes several updates and fixes to the runtime and Windows SDK projections, and improvements with C#/WinRT authoring scenarios. The updated Windows SDK packages are available with the .NET October Update (.NET SDK 5.0.402 and .NET SDK 5.0.208). For a detailed list of fixes and updates, refer to the Release 1.3.5 Milestone.
C#/WinRT package:
https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/1.3.5
.NET Windows SDK targeting packages:
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.22000.21
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.20348.21
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.19041.21
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.18362.21
https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref/10.0.17763.21
Note: Starting with this version of C#/WinRT, we are generating packages for the Windows 11 SDK (build 22000).
Bug-fixes and Updates
C#/WinRT runtime and projection updates:
- Fixed a regression with TypeInitializationException using PointCollection in Windows App SDK 0.8.2 (#967 )
- The fix will be available in a future update to Windows App SDK
The following fixes are included with the updated Windows SDK projections in the .NET October Update:
- Fixed NullReferencException when writing to bluetooth GATT Characteristic (#755)
- Fixed NullReferenceException with PushNotification (#905)
- Fixed NullReferenceException in ABI.Microsoft.UI.Xaml.Data.ICustomProperty (#840)
- Fixed issues with previously accessed value types being returned incorrectly for RCWs of other objects, for example with PnpObject (#859)
- Fixed NullReferenceException when passing null for a byte[] (#974)
- Make marshaller types public to ensure non-blittable structs can be properly marshalled (#976)
- Improve debugging by not throwing exceptions when loading DLL not found (#933)
C#/WinRT authoring updates:
- Improved authoring project reference support. Refer to our authoring docs for more details (#919)
- Fixed issue where only 1 authored component can be referenced (#774)
- Added diagnostics for authored classes that do not implement an interface correctly (#940)
Changes:
- 8ec0bed Update authoring support for project references (#919)
- 837b1a8 Add settings for .NET Download timeout (#991)
- 7acab7a Fix array marshalers to handle null (#983)
- 26943b2 Fix scenario with set only property declared across projections (#981)
- a9a8631 Make marshaller types public. (#976)
- 6354547 Fix assembly lookup for type reference (IIDOptimizer) (#979)
- c9b8e38 Ujjwalchadha/fix value type caching 2 (#980) [ #932 ]
- dcec6e0 Return IIDOptimizer exit code (#960)
- 1ad1a54 Check that a class correctly implements its interfaces (#942)
- d481c07 Support multiple authored runtime components (#922)
See More
- 2c76f77 Fixes misleading error about IIDOptimizer (#949)
- fbce33a initial arm64 support - building winrt.host.dll only (Reunion doesn't support arm, so cannot test) (#950)
- 990ac98 modify frameworkreference guidance (#944)
- 8e04090 Fix value type caching (#932)
- 3387042 removed en-us (#945)
- 48670e3 Import root targets in WinRT.Runtime (#943)
- 0335a5b Customize ERROR_INVALID_WINDOW_HANDLE exception text to make window interop helpers discoverable (#941)
- cfc26e5 Add fallback if QI on agile reference fails. (#934)
- 3507d24 Run IIDOptimizer on WinRT.Runtime (#931)
- c956f4c Don't use exceptions for flow control when loading dlls. (#933)
- 75ffe54 Fix storage buffer specific IMarshal interface by updating it to new interface format (#930)
This list of changes was auto generated.