CsWinRT
CsWinRT copied to clipboard
C# language projection for the Windows Runtime
This is to solve #780. This PR allows generating projections for all referenced WinRT projects, without any manual editing of the csproj file. Just add a reference to CsWinRT, add...
**Describe the bug** WinRT.Runtime is enabled for trimming, but not all APIs are correctly annotated. There's quite a few that are missing annotations, causing hundreds of warnings when building the...
**Describe the bug** Crash during the execution of custom effects implementations (from the `IBasicVideoEffect `or `IBasicAudioEffect `interfaces) in a WinUI 3 application. Some properties get executed, such as `IsReadOnly `and...
**Describe the bug** CsWinRT is currently generating managed function pointer signatures in generated stubs, eg.:  These are some generated signatures for Win2D APIs created with CsWinRT 2.0.2. Note those...
# Proposal: [your title here] Please simply wrap the DataTransferManager interop class ## Summary Please simply wrap the DataTransferManager interop class At present in desktop applications, if we want to...
**Describe the bug** Using WinAppSDK 1.3 stable and projection assemblies using CsWinRT 2.0.2, publishing a trimmed apps results in this warning: > "C:\...\Test.csproj" (restore;publish target) (1) -> (_RunILLink target) ->...
### Describe the bug See the attached repro project. When getting the activation arguments in Main (App.xaml.cs), the application will crash with a System.NullReferenceException. Please note that this only happens...
**Describe the bug** This error in the source generator did not result in a build failure. The resulting binary worked fine for a simple use case, but failed to work...
# Description - `CsWinRTIncludesPrivate` property projects contracts as `public` instead of `internal` # To Reproduce ## Example.idl ```cs namespace Test { [contractversion(6)] apicontract MyContract{}; } ``` ## Projection.csproj ```xml Test.MyContract;...
I've been working with CsWinRT more recently, and thinking about how it could be made AOT-safe. One of the main issues is that CsWinRT has to use several methods that...