Microsoft.DotNet.ApiCompat.Task 11.0.100

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

Microsoft.DotNet.ApiCompat.Task

MSBuild tasks and targets to perform API compatibility checks on assemblies and packages.

Getting started

Add a PackageReference to this package and the EnablePackageValidation and ApiCompatValidateAssemblies features become available on your project. See the package validation docs for the full list of options.

<PackageReference Include="Microsoft.DotNet.ApiCompat.Task" Version="..." PrivateAssets="all" />

Requirements

This package ships only a .NET (Core) implementation of the MSBuild task. When the task is invoked from desktop MSBuild.exe (i.e. inside Visual Studio), the task is loaded into a .NET task host using MSBuild's Runtime="NET" support.

That support requires:

  • MSBuild 18.0 or later (Visual Studio 2026 / MSBuild.exe 18.0+).
  • Equivalently, .NET SDK 10.0.100 or later.

If the package is consumed under an older MSBuild / SDK, the task will fail to load with MSB4175 ("The task factory ... could not be loaded") or with a NETHostTaskLoad_Failed error from the .NET task host. Upgrade Visual Studio or the .NET SDK to a supported version to resolve.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Microsoft.DotNet.ApiCompat.Task:

Package Downloads
CounterStrikeSharp.API

Official server side runtime assembly for CounterStrikeSharp

CounterStrikeSharp.API.Fork

Official server side runtime assembly for CounterStrikeSharp

CounterStrikeSharp.API.Fork1

Official server side runtime assembly for CounterStrikeSharp

CSSharp.API.Unofficial.PreRelease

Official server side runtime assembly for CounterStrikeSharp

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Microsoft.DotNet.ApiCompat.Task:

Repository Stars
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
roflmuffin/CounterStrikeSharp
CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2
VSadov/Satori
Experimenting with dotnet runtime.
Version Downloads Last Updated
11.0.100 2,571 11/10/2026
11.0.100-rc.3.26522.148 2,482 10/25/2026
11.0.100-rc.2.26504.105 850 10/13/2026
10.0.404 94 11/10/2026
10.0.403 1,074 10/25/2026
10.0.402 694 10/13/2026
10.0.115 95 11/10/2026
10.0.114 136 10/25/2026
10.0.113 437 10/13/2026
9.0.321 71 11/10/2026
9.0.320 128 10/25/2026
9.0.319 141 10/13/2026
9.0.124 71 11/10/2026
9.0.123 109 10/25/2026
8.0.428 73 11/10/2026
8.0.427 124 10/25/2026
8.0.426 211 10/13/2026
8.0.134 79 11/10/2026
8.0.133 114 10/25/2026
8.0.132 127 10/13/2026
Loading failed