Meziantou.Framework.PublicApiGenerator.MSBuild
2.0.18
Prefix Reserved
See the version list below for details.
dotnet add package Meziantou.Framework.PublicApiGenerator.MSBuild --version 2.0.18
NuGet\Install-Package Meziantou.Framework.PublicApiGenerator.MSBuild -Version 2.0.18
<PackageReference Include="Meziantou.Framework.PublicApiGenerator.MSBuild" Version="2.0.18" />
<PackageVersion Include="Meziantou.Framework.PublicApiGenerator.MSBuild" Version="2.0.18" />
<PackageReference Include="Meziantou.Framework.PublicApiGenerator.MSBuild" />
paket add Meziantou.Framework.PublicApiGenerator.MSBuild --version 2.0.18
#r "nuget: Meziantou.Framework.PublicApiGenerator.MSBuild, 2.0.18"
#:package Meziantou.Framework.PublicApiGenerator.MSBuild@2.0.18
#addin nuget:?package=Meziantou.Framework.PublicApiGenerator.MSBuild&version=2.0.18
#tool nuget:?package=Meziantou.Framework.PublicApiGenerator.MSBuild&version=2.0.18
Meziantou.Framework.PublicApiGenerator.MSBuild
Meziantou.Framework.PublicApiGenerator.MSBuild generates a public API file during dotnet build.
Usage
Add the package reference and configure the required output path property:
<ItemGroup>
<PackageReference Include="Meziantou.Framework.PublicApiGenerator.MSBuild" Version="x.y.z" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<PublicApiGeneratorOutputPath>PublicApi/PublicApi.g.cs</PublicApiGeneratorOutputPath>
</PropertyGroup>
Configuration
PublicApiGeneratorGenerateOnBuild(default:true)PublicApiGeneratorVerifyNoChangeOnBuild(default:false) - verifies generated public API files are up to date without writing filesPublicApiGeneratorOutputPath(required)PublicApiGeneratorFileLayout(SingleFile,OneFilePerNamespace,OneFilePerType; default:SingleFile)PublicApiGeneratorIncludeAutoGeneratedComment(default:true)
When PublicApiGeneratorVerifyNoChangeOnBuild is true, verification mode takes precedence and no files are written.
Example for CI:
dotnet build -p:PublicApiGeneratorVerifyNoChangeOnBuild=true
For multitargeted projects, generation runs once after all target frameworks are built and merges all output assemblies.
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
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.27 | 45 | 11/13/2026 |
| 2.0.26 | 45 | 11/13/2026 |
| 2.0.25 | 83 | 11/8/2026 |
| 2.0.24 | 83 | 11/5/2026 |
| 2.0.23 | 104 | 10/31/2026 |
| 2.0.22 | 146 | 10/29/2026 |
| 2.0.21 | 99 | 10/28/2026 |
| 2.0.20 | 97 | 10/24/2026 |
| 2.0.19 | 96 | 10/21/2026 |
| 2.0.18 | 94 | 10/14/2026 |
| 2.0.17 | 94 | 10/11/2026 |
| 2.0.16 | 98 | 10/9/2026 |
| 2.0.15 | 107 | 9/27/2026 |
| 2.0.14 | 119 | 9/20/2026 |
| 2.0.13 | 112 | 9/15/2026 |
| 2.0.12 | 107 | 9/13/2026 |
| 2.0.11 | 110 | 9/11/2026 |
| 2.0.10 | 125 | 9/9/2026 |
| 2.0.9 | 125 | 9/6/2026 |
| 2.0.8 | 123 | 9/3/2026 |