Mile.Windows.UniCrt 1.2.410

dotnet add package Mile.Windows.UniCrt --version 1.2.410
                    
NuGet\Install-Package Mile.Windows.UniCrt -Version 1.2.410
                    
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="Mile.Windows.UniCrt" Version="1.2.410" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mile.Windows.UniCrt" Version="1.2.410" />
                    
Directory.Packages.props
<PackageReference Include="Mile.Windows.UniCrt" />
                    
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 Mile.Windows.UniCrt --version 1.2.410
                    
#r "nuget: Mile.Windows.UniCrt, 1.2.410"
                    
#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 Mile.Windows.UniCrt@1.2.410
                    
#: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=Mile.Windows.UniCrt&version=1.2.410
                    
Install as a Cake Addin
#tool nuget:?package=Mile.Windows.UniCrt&version=1.2.410
                    
Install as a Cake Tool

Mile.Windows.UniCrt

NuGet Package

The Windows Universal C Runtime derivative intended for the lightweight applications.

Work In Progress

Features

  • Provide x86, x64 and ARM64 targets support.
  • Provide ARM64X and ARM64EC modes support for ARM64 targets.
  • Provide the Simplified Base support which can make people build their binaries which directly depends on ucrtbase.dll instead of api-ms-win-crt-*.dll.
  • Provide the Static Base support which can make people build their binaries which links with the static Windows Universal C Runtime library.
  • Provide the disabling runtime debugging feature support which can make people build their debug binaries which directly depends on ucrtbase.dll instead of ucrtbased.dll.
  • Provide the vcruntime140(d).dll and vcruntime140_1(d).dll to ucrtbase(d).dll wrapper which can make people build more smaller binaries. But it will cause binaries only support Windows 10 Build 19041 or later.
  • Provide NuGet package.

Available MSBuild project options

If you don't want to use the simplified base, please set the following option.

<MileUniCrtEnableSimplifiedBase>false</MileUniCrtEnableSimplifiedBase>

If you want to use the static base, please set the following option. The option won't work if the simplified base is enabled.

<MileUniCrtEnableStaticBase>true</MileUniCrtEnableStaticBase>

If you want to make your debug configuration binary which directly depends on ucrtbase.dll instead of ucrtbased.dll, please set the following option.

<MileUniCrtDisableRuntimeDebuggingFeature>true</MileUniCrtDisableRuntimeDebuggingFeature>

If you don't want to use the vcruntime140(d).dll and vcruntime140_1(d).dll to ucrtbase(d).dll wrapper if you want to make your binary support Windows 10 Build 18363 or earlier, please set the following option.

<MileUniCrtEnableVcRuntimeWrapper>false</MileUniCrtEnableVcRuntimeWrapper>

If you want to disable all features from Mile.Windows.UniCrt, please set the following option.

<MileUniCrtDisableAllFeatures>true</MileUniCrtDisableAllFeatures>

Why named UniCrt?

Read https://github.com/microsoft/WindowsAppSDK/commit/34cf5fb8d2312dcbb1591595c37d385a24339d18, you will know UniCrt is Microsoft's internal alias name for Universal C Runtime.

Documents

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

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Mile.Windows.UniCrt:

Repository Stars
ProjectMile/Mile.Xaml
The lightweight XAML Islands toolchain with the Windows 11 controls styles.
Version Downloads Last Updated
1.2.410 2,446 5/5/2025
1.2.328 586 2/12/2025
1.1.278 525 12/24/2024
1.1.274 228 12/19/2024
1.0.199 407 10/6/2024