CsWinRT
CsWinRT copied to clipboard
C# language projection for the Windows Runtime
Hello. ## Summary In an architecture where we have a WinUI 3 C++ application and a CsWinRT component dependency, we would like to have a simple way to deploy it...
**Description** I'm trying the "hello world" scenario of consuming a C++/WinRT Runtime Component using a C# console application. The compilation succeeds and the projection types get generated with no problems,...
**Describe the bug** I am trying to implement background tasks for .NET MAUI apps. In the past Xamarin Forms used UWP, but now that Maui is based on WinUI3, I...
**Describe the bug** Even though WinRT.Runtime includes the Source Link GitHub package, the integration is completely broken. This means debugging WinRT.Runtime is a massive pain without embedding or building the...
This PR fixes the generated `IBufferByteAccess` addition to pass the IID to `FromAbi`. It also exposes the `IBuffer` and `IBufferByteAccess` IIDs as constant RVA fields, both so they can be...
This makes them consistent with `FromAbi` not taking an IID, which is also obsolete and not safe.
- Incrementing the assembly version to reflect what it should actually be - Fixing AsAsyncOperation and similar async scenarios where we weren't previously generating the vtable for generic classes implementing...
Small trick to avoid a closure class, since this delegate is only capturing the original delegate itself.
This PR adds the 'CsWinRTUseUtcDateTimeOffsetMarshalling' switch to opt-in into standard UTC `DateTimeOffset` marshalling.
**Describe the bug** The below exception occurred in `TypeNameSupport.ResolveGenericType` when `PublishAot` is set to `true` but not running under NativeAOT. ``` System.NotSupportedException: 'Cannot provide generic type from 'Windows.Foundation.IAsyncOperation`1'.' ``` **To...