Microsoft.Windows.CsWinRT 1.3.1 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

C#/WinRT provides packaged WinRT projection support for the C# language. It is compatible with .NET 5 and does not require any built-in knowledge of WinRT by the C# compiler.

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

Install-Package Microsoft.Windows.CsWinRT -Version 1.3.1
dotnet add package Microsoft.Windows.CsWinRT --version 1.3.1
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Windows.CsWinRT --version 1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Windows.CsWinRT, 1.3.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Windows.CsWinRT as a Cake Addin
#addin nuget:?package=Microsoft.Windows.CsWinRT&version=1.3.1

// Install Microsoft.Windows.CsWinRT as a Cake Tool
#tool nuget:?package=Microsoft.Windows.CsWinRT&version=1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

  • net5.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Microsoft.Windows.CsWinRT:

Package Downloads
WindowsContracts.Net.Foundation.FoundationContract
适用于.Net 5的Windows.Foundation.FoundationContract程序集
UniversalApiContract.Net5
.Net 5不能直接引用Windows元数据文件(.winmd),因此也不能直接使用通用Windows平台的API,主要是UniversalApiContract.winmd。本项目直接用Microsoft.Windows.CsWinRT NuGet工具包将UniversalApiContract转码为适用于.Net 5的项目。
WindowsFoundation.UniversalApiContract.Net
.Net 5不能直接引用Windows元数据文件(.winmd),因此也不能直接使用通用Windows平台的API,主要是UniversalApiContract.winmd。本项目直接用Microsoft.Windows.CsWinRT NuGet工具包将UniversalApiContract转码为适用于.Net 5的项目。
UniversalApiContractNet
.Net 6不能直接引用Windows元数据文件(.winmd),因此也不能直接使用通用Windows平台的API,主要是UniversalApiContract.winmd。本项目直接用Microsoft.Windows.CsWinRT NuGet工具包将UniversalApiContract转码为适用于.Net 6的项目。

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Windows.CsWinRT:

Repository Stars
SteamTools-Team/SteamTools
🛠「Steam++」是一个包含多种Steam工具功能的工具箱。
BornToBeRoot/NETworkManager
A powerful tool for managing networks and troubleshoot network problems!
Belphemur/SoundSwitch
C# application to switch default playing device. Download: https://soundswitch.aaflalo.me/
microsoft/CsWinRT
C# language projection for the Windows Runtime
gus33000/UUPMediaCreator
An utility to create Windows Media files (.ISO, .WIM, .VHD) from Unified Update Platform files

Version History

Version Downloads Last updated
1.3.5 80 9/16/2021
1.3.3 5,003 7/25/2021
1.3.1 481 7/15/2021
1.3.0 3,621 6/18/2021
1.2.6 3,758 5/13/2021
1.2.5 2,842 4/22/2021
1.2.4 171 4/20/2021
1.2.3 422 4/19/2021
1.2.2 1,924 4/13/2021
1.2.1 737 4/8/2021
1.2.0 682 4/2/2021
1.1.4 1,413 3/17/2021
1.1.3 2,008 2/26/2021
1.1.2 631 2/17/2021
1.1.2-prerelease.210208.6 254 2/9/2021
1.1.1 1,774 1/20/2021
1.1.0 7,685 11/25/2020
1.1.0-prerelease.201111.6 285 11/12/2020
1.0.2-prerelease.201103.7 191 11/3/2020
1.0.2-prerelease.201103.4 160 11/3/2020
1.0.2-prerelease.201021.1 442 10/21/2020
1.0.1 6,050 10/20/2020
0.9.0 464 10/14/2020
0.8.0 543 10/12/2020
0.1.0 466 10/6/2020
0.1.0-prerelease.200928.7 753 9/29/2020
0.1.0-prerelease.200629.3 7,313 7/2/2020
0.1.0-prerelease.200512.7 16,284 5/13/2020