Microsoft.Windows.CsWinRT 1.2.5

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.5
dotnet add package Microsoft.Windows.CsWinRT --version 1.2.5
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="1.2.5" />
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.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Windows.CsWinRT, 1.2.5"
#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.5

// Install Microsoft.Windows.CsWinRT as a Cake Tool
#tool nuget:?package=Microsoft.Windows.CsWinRT&version=1.2.5
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 282 7/25/2021
1.3.1 414 7/15/2021
1.3.0 2,494 6/18/2021
1.2.6 3,604 5/13/2021
1.2.5 2,508 4/22/2021
1.2.4 160 4/20/2021
1.2.3 407 4/19/2021
1.2.2 1,905 4/13/2021
1.2.1 617 4/8/2021
1.2.0 666 4/2/2021
1.1.4 1,346 3/17/2021
1.1.3 1,775 2/26/2021
1.1.2 618 2/17/2021
1.1.2-prerelease.210208.6 249 2/9/2021
1.1.1 1,740 1/20/2021
1.1.0 6,666 11/25/2020
1.1.0-prerelease.201111.6 281 11/12/2020
1.0.2-prerelease.201103.7 187 11/3/2020
1.0.2-prerelease.201103.4 156 11/3/2020
1.0.2-prerelease.201021.1 438 10/21/2020
1.0.1 5,550 10/20/2020
0.9.0 454 10/14/2020
0.8.0 534 10/12/2020
0.1.0 447 10/6/2020
0.1.0-prerelease.200928.7 749 9/29/2020
0.1.0-prerelease.200629.3 7,203 7/2/2020
0.1.0-prerelease.200512.7 15,851 5/13/2020