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

**Describe the bug** IIDOptimizer crashes when a CsWinRT referencing project is built on an ARM64 device. **To Reproduce** 1. Install .NET 6 ARM64 SDK on an ARM64 device, e.g. Surface...

bug

Find attached two demo projects, the "UIOnly" folder contains the example from this [issue comment](https://github.com/microsoft/CsWinRT/issues/413#issue-702423240), ported to the latest project template. Additionally, the "MVVM" folder contains an example that is...

bug

We found an issue where sometimes the source generator crashes and the stored exception says "Windows.Foundation.Point" could not be found. @asklar Were there more steps to repro?

bug

**Describe the bug** Adding a class that derives from `Attribute` will cause the build to fail with an unrelated error **To Reproduce** ```cs namespace CSWinRT_AuthoringPlayground { public sealed class X...

bug
authoring

There's a couple attributes we inject into authoring components to meet compatibility with WinRT -- "ReadOnlyArray" and "WriteOnlyArray". When there's an issue with authoring, such as the generator fails during...

enhancement

**Describe the bug** When enumerating an out-of-process vector an exception "No such interface supported" is thrown. **To Reproduce** Repro shared offline. **Expected behavior** No exceptions thrown. **Version Info** 1.6.4 **Additional...

bug

# Proposal: Support authoring unsealed types ## Rationale Currently WinRT only allows authoring sealed types. Adding unsealed type support will help adopters such as Windows Community Toolkit, Notifications component, and...

enhancement
authoring
cswinmd

This is the first PR to bring cswinmd over into this repo. ### Description CSWinMD is a tool to generate WinMD files from C#/WinRT .cs files (technically not valid C#,...

**Describe the bug** I get a `COMException (0x800401FD): Object is not connected to server (CO_E_OBJNOTCONNECTED)` when calling `Windows.Storage.Search.QueryOptions..ctor` after application runs about 30 seconds. When `Windows.Storage.Search.QueryOptions..ctor` is called immediately after...

bug

**Describe the bug** In NET6, when Debug Symbols are "Embedded in DLL/EXE" instead of in a "PDB file", the IIDOptimizer step will fail with `Microsoft.Windows.CsWinRT.IIDOptimizer.targets(84,5): error MSB3030: Could not copy...

bug