Microsoft.Windows.CsWinRT 0.8.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 5.0
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

dotnet add package Microsoft.Windows.CsWinRT --version 0.8.0
NuGet\Install-Package Microsoft.Windows.CsWinRT -Version 0.8.0
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="0.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Windows.CsWinRT --version 0.8.0
#r "nuget: Microsoft.Windows.CsWinRT, 0.8.0"
#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=0.8.0

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

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages (6)

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

Package Downloads
WindowsContracts.Net.Foundation.FoundationContract

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

EmptyBox.IO.UWP

UWP module

WindowsFoundation.UniversalApiContract.Net

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

UniversalApiContract.Net5

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

Dt.Tasks

Package Description

GitHub repositories (15)

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
veler/DevToys
A Swiss Army knife for developers.
Kinnara/ModernWpf
Modern styles and controls for your WPF applications
BornToBeRoot/NETworkManager
A powerful tool for managing networks and troubleshoot network problems!
Version Downloads Last updated
2.0.1 1,548 11/16/2022
2.0.0 16,092 8/17/2022
1.6.5 5,860 8/2/2022
1.6.4 19,036 5/28/2022
1.6.3 5,249 4/29/2022
1.6.1 9,989 3/15/2022
1.5.0 6,757 2/8/2022
1.5.0-prerelease.220124.4 748 1/25/2022
1.4.1 7,285 11/18/2021
1.4.0-prerelease.211028.1 1,032 11/2/2021
1.3.5 14,687 9/16/2021
1.3.3 11,799 7/25/2021
1.3.1 771 7/15/2021
1.3.0 7,913 6/18/2021
1.2.6 4,275 5/13/2021
1.2.5 4,346 4/22/2021
1.2.4 384 4/20/2021
1.2.3 654 4/19/2021
1.2.2 2,157 4/13/2021
1.2.1 1,158 4/8/2021
1.2.0 980 4/2/2021
1.1.4 1,952 3/17/2021
1.1.3 2,445 2/26/2021
1.1.2 826 2/17/2021
1.1.2-prerelease.210208.6 352 2/9/2021
1.1.1 2,100 1/20/2021
1.1.0 16,372 11/25/2020
1.1.0-prerelease.201111.6 363 11/12/2020
1.0.2-prerelease.201103.7 269 11/3/2020
1.0.2-prerelease.201103.4 244 11/3/2020
1.0.2-prerelease.201021.1 516 10/21/2020
1.0.1 17,101 10/20/2020
0.9.0 652 10/14/2020
0.8.0 753 10/12/2020
0.1.0 778 10/6/2020
0.1.0-prerelease.200928.7 856 9/29/2020
0.1.0-prerelease.200629.3 7,924 7/2/2020
0.1.0-prerelease.200512.7 18,172 5/13/2020