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
<PackageReference Include="Microsoft.DotNet.ApiCompat.Task" Version="11.0.100" />
<PackageVersion Include="Microsoft.DotNet.ApiCompat.Task" Version="11.0.100" />
<PackageReference Include="Microsoft.DotNet.ApiCompat.Task" />
paket add Microsoft.DotNet.ApiCompat.Task --version 11.0.100
#r "nuget: Microsoft.DotNet.ApiCompat.Task, 11.0.100"
#:package Microsoft.DotNet.ApiCompat.Task@11.0.100
#addin nuget:?package=Microsoft.DotNet.ApiCompat.Task&version=11.0.100
#tool nuget:?package=Microsoft.DotNet.ApiCompat.Task&version=11.0.100
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.exe18.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.
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 |