Microsoft.Windows.CsWinRT 1.2.3

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.2.3
dotnet add package Microsoft.Windows.CsWinRT --version 1.2.3
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="1.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Windows.CsWinRT --version 1.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Windows.CsWinRT, 1.2.3"
#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.2.3

// Install Microsoft.Windows.CsWinRT as a Cake Tool
#tool nuget:?package=Microsoft.Windows.CsWinRT&version=1.2.3
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
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的项目。
WindowsContracts.Net.Foundation.FoundationContract
适用于.Net 5的Windows.Foundation.FoundationContract程序集
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.3 343 7/25/2021
1.3.1 418 7/15/2021
1.3.0 2,510 6/18/2021
1.2.6 3,612 5/13/2021
1.2.5 2,523 4/22/2021
1.2.4 162 4/20/2021
1.2.3 409 4/19/2021
1.2.2 1,906 4/13/2021
1.2.1 623 4/8/2021
1.2.0 667 4/2/2021
1.1.4 1,347 3/17/2021
1.1.3 1,783 2/26/2021
1.1.2 619 2/17/2021
1.1.2-prerelease.210208.6 250 2/9/2021
1.1.1 1,742 1/20/2021
1.1.0 6,689 11/25/2020
1.1.0-prerelease.201111.6 282 11/12/2020
1.0.2-prerelease.201103.7 188 11/3/2020
1.0.2-prerelease.201103.4 157 11/3/2020
1.0.2-prerelease.201021.1 439 10/21/2020
1.0.1 5,567 10/20/2020
0.9.0 455 10/14/2020
0.8.0 535 10/12/2020
0.1.0 448 10/6/2020
0.1.0-prerelease.200928.7 750 9/29/2020
0.1.0-prerelease.200629.3 7,206 7/2/2020
0.1.0-prerelease.200512.7 15,898 5/13/2020
Show less