FunFair.BuildCheck.linux-x64
474.2.23.3003-main
dotnet add package FunFair.BuildCheck.linux-x64 --version 474.2.23.3003-main
NuGet\Install-Package FunFair.BuildCheck.linux-x64 -Version 474.2.23.3003-main
<PackageReference Include="FunFair.BuildCheck.linux-x64" Version="474.2.23.3003-main" />
<PackageVersion Include="FunFair.BuildCheck.linux-x64" Version="474.2.23.3003-main" />
<PackageReference Include="FunFair.BuildCheck.linux-x64" />
paket add FunFair.BuildCheck.linux-x64 --version 474.2.23.3003-main
#r "nuget: FunFair.BuildCheck.linux-x64, 474.2.23.3003-main"
#:package FunFair.BuildCheck.linux-x64@474.2.23.3003-main
#addin nuget:?package=FunFair.BuildCheck.linux-x64&version=474.2.23.3003-main&prerelease
#tool nuget:?package=FunFair.BuildCheck.linux-x64&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
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 |
|---|---|---|
| 474.2.23.3003-main | 15 | 11/19/2026 |
| 474.2.23.3002-main | 17 | 11/19/2026 |
| 474.2.23.3001-pull-507-merge | 13 | 11/19/2026 |
| 474.2.23.3000-aot-tool-check | 10 | 11/19/2026 |
| 474.2.23.2999-aot-tool-check | 35 | 11/19/2026 |
| 474.2.23.2996-main | 61 | 11/19/2026 |
| 474.2.23.2995-pull-506-merge | 61 | 11/19/2026 |
| 474.2.23.2994-native-aot-tool | 57 | 11/19/2026 |
| 474.2.23.2993-native-aot-tool | 57 | 11/19/2026 |
| 474.2.23.2992-native-aot-tool | 53 | 11/18/2026 |
| 474.2.23.2991-native-aot-tool | 60 | 11/18/2026 |
| 474.2.23.2990-native-aot-tool | 53 | 11/18/2026 |
| 474.2.23.2989-native-aot-tool | 54 | 11/18/2026 |
| 474.2.22.2985 | 436 | 11/17/2026 |
| 474.2.22.2984-main | 47 | 11/17/2026 |
| 474.2.22.2983-main | 60 | 11/17/2026 |
| 474.2.22.2982-pull-503-merge | 48 | 11/17/2026 |
| 474.2.22.2981-native-assets-i | 56 | 11/17/2026 |
| 474.2.22.2980-native-assets-i | 52 | 11/17/2026 |
| 474.2.22.2979-native-assets-i | 52 | 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