CsWinRT
CsWinRT copied to clipboard
C# language projection for the Windows Runtime
**Describe the bug** When I enable PublishAOT I am getting an ArgumentOutOfRangeException that originates from this line: `var a = DisplayArea.FindAll();`. **To Reproduce** Just add the provided line to an...
**Describe the bug** #### The right-click menu implemented by IExplorerCommand has problems using apis under the Windows.ApplicationModel namespace #### ---------------------------------- #### IExplorerCommand 实现的右键菜单使用 Windows.ApplicationModel 命名空间下的 API 时有问题 ----------------------------------------- **To Reproduce**...
**Describe the bug** **To Reproduce** 1. Create a new WinUI 3 app, and enable it for AoT 2. Replace the MainWindow.xaml.cs code with the following: ```cs public MainWindow() { var...
Both the Guid attribute and the Overload attribute can be manually specified when authoring an interface / method. For those scenarios, we shouldn't auto generate our own and use the...
**Describe the bug** How to CreateMarshaler with Generic types? As you can see, I use an EventHandler without generics (corresponding to object sender and EventArgs args) and the event fires...
### Description How to definition event with ComWrappers? 如何使用 ComWrappers 定义事件? As you can see in the image, I have a COM interface for IInternalCoreWindow2 (the interface is derived from...
**Describe the bug** Hope that the future can in Nuget package management page through the UI update Microsoft.Windows.SDK.NET.Ref package 希望未来能在 Nuget 包管理页面中通过 UI 更新 Microsoft.Windows.SDK.NET.Ref 包 After updating to CsWinRT...
**Describe the bug** When I try to build a WinUI 3 (C#) project, I get the following error: ```text EXEC : error : Could not read the Windows SDK's Platform.xml...
**Describe the bug** InvaildCastException occurs when the argument is passed in as a collection expression 传入参数为集合表达式时会发生 InvaildCastException **To Reproduce** Compositor. CreateEffectFactory() have multiple overloaded method, one of the second parameter...
### Description When setting an error message on an Exception from AppActions, the actions consumer only receives a generic exception message. ### Steps To Reproduce 1. Add a where clause...