Microsoft.Windows.CppWinRT 2.0.250303.1

Prefix Reserved

Requires NuGet 2.5 or higher.

dotnet add package Microsoft.Windows.CppWinRT --version 2.0.250303.1
                    
NuGet\Install-Package Microsoft.Windows.CppWinRT -Version 2.0.250303.1
                    
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.CppWinRT" Version="2.0.250303.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Windows.CppWinRT" Version="2.0.250303.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Windows.CppWinRT" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Windows.CppWinRT --version 2.0.250303.1
                    
#r "nuget: Microsoft.Windows.CppWinRT, 2.0.250303.1"
                    
#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.
#:package Microsoft.Windows.CppWinRT@2.0.250303.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Windows.CppWinRT&version=2.0.250303.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Windows.CppWinRT&version=2.0.250303.1
                    
Install as a Cake Tool

C++/WinRT is a standard C++ language projection for the Windows Runtime implemented solely in header files. It allows you to both author and consume Windows Runtime APIs using any standards-compliant C++ compiler. C++/WinRT is designed to provide C++ developers with first-class access to the modern Windows API.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Microsoft.Windows.CppWinRT:

Package Downloads
Unpackaged

Helpers for unpackaged and XAML Islands apps

WinUIEssential.WinUI3

Essential helpers for developing WinUI(UWP)

GitHub repositories (6)

Showing the top 6 popular GitHub repositories that depend on Microsoft.Windows.CppWinRT:

Repository Stars
microsoft/PowerToys
Microsoft PowerToys is a collection of utilities that supercharge productivity and customization on Windows
files-community/Files
A modern file manager that helps users organize their files and folders.
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
UnigramDev/Unigram
Telegram for Windows
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
ikas-mc/ContextMenuForWindows11
Add Custom Context Menu For Windows11
Version Downloads Last Updated
2.0.250303.1 224,235 5/29/2025
2.0.240405.15 515,923 4/5/2024
2.0.240111.5 118,461 1/12/2024
2.0.230706.1 533,784 7/6/2023
2.0.230524.4 15,395 5/25/2023
2.0.230524.3 3,280 5/24/2023
2.0.230225.1 164,236 2/25/2023
2.0.230207.1 444,257 2/7/2023
2.0.221121.5 312,319 11/21/2022
2.0.221117.1 19,091 11/17/2022
2.0.221104.6 122,046 11/4/2022
2.0.221101.3 3,721 11/1/2022
2.0.220929.3 59,070 9/29/2022
2.0.220912.1 28,790 9/12/2022
2.0.220909.4 2,914 9/12/2022
2.0.220608.4 136,838 6/8/2022
2.0.220607.4 5,227 6/8/2022
2.0.220531.1 275,995 6/1/2022
2.0.220418.1 406,320 4/18/2022
2.0.220331.4 40,090 3/31/2022
Loading failed