CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

C# language projection for the Windows Runtime

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

Look into using GC.KeepAlive within ABI functions or when calling them.

bug

C#/WinRT components should target AnyCPU, however consumption from native C++ apps only works when the app targets x86. Apps targeting arm64 or x64 will get a runtime error when trying...

bug
documentation
authoring

If cswinrt.exe is misconfigured with input metadata and filtering rules, such that no input-dependent projection sources are generated, it should return a non-zero exit code. See #892

bug

# Proposal: Allow embedded projects to suppress generating members that reference types from specified namespaces ## Summary The current `` section allows namespaces to be included in the code generation,...

enhancement

When I generate a projection library with CsWinRTEmbedded=true all the projected types from my c++/winrt component are defined as internal and so not visible to any consumers. Is there any...

needs-author-feedback

**Describe the bug** CsWinRT doesn't handle removed namespaces or project references. When a namespace is removed, the file containing the projection stays behind. **Expected behavior** Files should be properly cleaned...

bug

**Describe the bug** PasswordVault access not returning PasswordCredential added by the main app I'm migrating a UWP app to the WAS. The app uses a OOP background task which i...

bug

**Describe the bug** Mismatched versions of the WinRT.Runtime assembly sometimes cause a runtime error with the AssemblyVersion. **To Reproduce** 1. Install a version of the .NET SDK. 2. Build app...

bug
fixed

Filing this here to track a dependency on cswinrt from https://github.com/microsoft/react-native-windows/issues/6539 We would like to be able to move away from C# UWP but we still need to target system...

enhancement
cswinmd

### Discussed in https://github.com/microsoft/CsWinRT/discussions/1064 Need a sample for COM background tasks Internal tracking: https://task.ms/37609947