FunFair.BuildCheck.Interfaces
474.2.23.3003-main
dotnet add package FunFair.BuildCheck.Interfaces --version 474.2.23.3003-main
NuGet\Install-Package FunFair.BuildCheck.Interfaces -Version 474.2.23.3003-main
<PackageReference Include="FunFair.BuildCheck.Interfaces" Version="474.2.23.3003-main" />
<PackageVersion Include="FunFair.BuildCheck.Interfaces" Version="474.2.23.3003-main" />
<PackageReference Include="FunFair.BuildCheck.Interfaces" />
paket add FunFair.BuildCheck.Interfaces --version 474.2.23.3003-main
#r "nuget: FunFair.BuildCheck.Interfaces, 474.2.23.3003-main"
#:package FunFair.BuildCheck.Interfaces@474.2.23.3003-main
#addin nuget:?package=FunFair.BuildCheck.Interfaces&version=474.2.23.3003-main&prerelease
#tool nuget:?package=FunFair.BuildCheck.Interfaces&version=474.2.23.3003-main&prerelease
Build Check
Build checking tool
Usage
buildcheck -Solution D:\Source\Solution.slnx [-WarningAsErrors true|false] [-PreReleaseBuild true|false]
-Solution- path to the.slnor.slnxfile to check.--self-test- proves the tool can start: loads its runtime dependencies and builds its service provider without reading any repository files or using the network. Exits 0 on success, or 1 with a one-line reason on stderr.-Solutionis not needed.--helpor-h- prints the usage and exits 0.
Checks
All projects referenced in the solution exist on disk
All project to project references exist on disk
Dotnet tool projects (
PackAsToolset totrue) must ship as native AOT, trimmed, per-RID packages (Error). They must set:PublishAot,IsAotCompatible,EnableTrimAnalyzer,EnableAotAnalyzerandPublishTrimmedtotrueTrimModetofullToolPackageRuntimeIdentifiersorRuntimeIdentifiersto a non-empty list of runtime identifiersIsTrimmablemust not befalse
A tool that cannot be published as native AOT (for example one built on Roslyn) can opt out by setting
BuildCheckAllowNonAotTooltotruetogether with a non-emptyBuildCheckAllowNonAotToolReasonexplaining why; the opt-out without a reason is an error.
Build Status
| Branch | Status |
|---|---|
| main | |
| release |
Changelog
View changelog
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on FunFair.BuildCheck.Interfaces:
| Package | Downloads |
|---|---|
|
FunFair.BuildCheck.ProjectChecks
Build check project checks. |
|
|
FunFair.BuildCheck.SolutionChecks
Build check solution checks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 474.2.23.3003-main | 0 | 11/19/2026 |
| 474.2.23.3002-main | 0 | 11/19/2026 |
| 474.2.23.3001-pull-507-merge | 0 | 11/19/2026 |
| 474.2.23.3000-aot-tool-check | 0 | 11/19/2026 |
| 474.2.23.2999-aot-tool-check | 0 | 11/19/2026 |
| 474.2.23.2996-main | 0 | 11/19/2026 |
| 474.2.23.2995-pull-506-merge | 0 | 11/19/2026 |
| 474.2.23.2994-native-aot-tool | 0 | 11/19/2026 |
| 474.2.23.2993-native-aot-tool | 0 | 11/19/2026 |
| 474.2.23.2992-native-aot-tool | 0 | 11/18/2026 |
| 474.2.23.2991-native-aot-tool | 0 | 11/18/2026 |
| 474.2.23.2990-native-aot-tool | 0 | 11/18/2026 |
| 474.2.23.2989-native-aot-tool | 7 | 11/18/2026 |
| 474.2.22.2985 | 104 | 11/17/2026 |
| 474.2.22.2984-main | 65 | 11/17/2026 |
| 474.2.22.2983-main | 60 | 11/17/2026 |
| 474.2.22.2982-pull-503-merge | 58 | 11/17/2026 |
| 474.2.22.2981-native-assets-i | 60 | 11/17/2026 |
| 474.2.22.2980-native-assets-i | 53 | 11/17/2026 |
| 474.2.22.2979-native-assets-i | 53 | 11/17/2026 |
### Added
- New error-level build check (DotNetToolsMustBeNativeAotPolicy) requires dotnet tool projects (PackAsTool) to be published as native AOT and trimmed, so the tool stays fast to start and self-contained; projects can opt out with BuildCheckAllowNonAotTool, which must be given a reason
### Fixed
- Restored the coverage exclusion for ConsoleAppFramework generated sources
### Changed
- Publish buildcheck as a native AOT, trimmed, per-RID dotnet tool - #490
- Parse the command line with ConsoleAppFramework, keeping -Solution, -WarningAsErrors and -PreReleaseBuild as aliases - #490