CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

C# language projection for the Windows Runtime

Results 226 CsWinRT issues
Sort by recently updated
recently updated
newest added

Minimal size optimization, same as in #1470 and #1586.

trimming

This PR unifies all IID in WinRT.Runtime into the `IID` type. Also provides minimal perf/size improvements.

performance
code cleanup

This PR enables fully trimming `ABI.System.EventHandler` when not needed, making it fully pay-for-play.

trimming

This PR adds missing `readonly` modifiers to (P)IID fields. This can enable more optimizations and better codegen.

performance

Documenting what we learned when working on the fix for the memory management issues in C#/WinRT. Fixes #810

This PR removes the generated `As()` methods on static RCW types. This method is: - Unnecessary, now that `ActivationFactory` is public - Only works with either `[ComImport]` types, or via...

breaking change

- Added a new `CsWinRTAotWarningLevel` property to control whether the warnings from the code fixer are emitted as warnings or info. By default, for scenarios involving non built-in types, they...

Putting an SkXamlCanvas in a WinUI app crashes with the new prerelease packages. We are trying to test NativeAOT in WinUI for our app, which is built in SkiaSharp. We...

bug
AOT
external

**Summary** I have a WinUI3 C++/WinRT (WindowsAppSDK) app "CppHost" with most of the XAML UI implemented in a separate C# DLL "CsUiLibrary". I also have a separate C#-based test app...

bug
authoring