Microsoft.Windows.CsWinRT 2.1.3

Prefix Reserved

Requires NuGet 2.5 or higher.

dotnet add package Microsoft.Windows.CsWinRT --version 2.1.3                
NuGet\Install-Package Microsoft.Windows.CsWinRT -Version 2.1.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Windows.CsWinRT --version 2.1.3                
#r "nuget: Microsoft.Windows.CsWinRT, 2.1.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=2.1.3

// Install Microsoft.Windows.CsWinRT as a Cake Tool
#tool nuget:?package=Microsoft.Windows.CsWinRT&version=2.1.3                

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

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (17)

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

Package Downloads
Morphic.WindowsNative

Morphic Windows Native features library (C#)

WindowsContracts.Net.Foundation.FoundationContract

适用于.Net 5的Windows.Foundation.FoundationContract程序集

EmptyBox.IO.UWP

UWP module

Dt.Tasks

Package Description

WindowsFoundation.UniversalApiContract.Net

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

GitHub repositories (33)

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

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
files-community/Files
Building the best file manager for Windows
marticliment/UniGetUI
UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
BornToBeRoot/NETworkManager
A powerful tool for managing networks and troubleshoot network problems!
hanmin0822/MisakaTranslator
御坂翻译器—Galgame/文字游戏/漫画多语种实时机翻工具
Version Downloads Last updated
2.1.3 1,370 9/10/2024
2.1.1 6,180 8/8/2024
2.1.0-prerelease.240801.1 297 8/2/2024
2.1.0-prerelease.240722.1 489 7/24/2024
2.1.0-prerelease.240602.1 1,386 6/4/2024
2.0.8 5,495 7/11/2024
2.0.7 37,399 2/8/2024
2.0.6 2,494 2/3/2024
2.0.4 49,232 10/17/2023
2.0.3 39,765 6/12/2023
2.0.2 19,547 3/31/2023
2.0.1 33,693 11/16/2022
2.0.0 66,376 8/17/2022
1.6.5 22,178 8/2/2022
1.6.4 31,955 5/28/2022
1.6.3 6,934 4/29/2022
1.6.1 11,562 3/15/2022
1.5.0 7,737 2/8/2022
1.5.0-prerelease.220124.4 1,073 1/25/2022
1.4.1 14,162 11/18/2021
1.4.0-prerelease.211028.1 1,461 11/2/2021
1.3.5 20,101 9/16/2021
1.3.3 12,715 7/25/2021
1.3.1 1,151 7/15/2021
1.3.0 15,147 6/18/2021
1.2.6 4,624 5/13/2021
1.2.5 6,037 4/22/2021
1.2.4 659 4/20/2021
1.2.3 921 4/19/2021
1.2.2 2,410 4/13/2021
1.2.1 1,519 4/8/2021
1.2.0 1,558 4/2/2021
1.1.4 2,260 3/17/2021
1.1.3 2,726 2/26/2021
1.1.2 1,064 2/17/2021
1.1.2-prerelease.210208.6 479 2/9/2021
1.1.1 2,784 1/20/2021
1.1.0 20,116 11/25/2020
1.1.0-prerelease.201111.6 471 11/12/2020
1.0.2-prerelease.201103.7 386 11/3/2020
1.0.2-prerelease.201103.4 347 11/3/2020
1.0.2-prerelease.201021.1 633 10/21/2020
1.0.1 17,462 10/20/2020
0.9.0 944 10/14/2020
0.8.0 1,000 10/12/2020
0.1.0 1,608 10/6/2020
0.1.0-prerelease.200928.7 975 9/29/2020
0.1.0-prerelease.200629.3 8,675 7/2/2020
0.1.0-prerelease.200512.7 20,880 5/13/2020

Release notes are available at https://github.com/microsoft/CsWinRT/releases