Basic.CompilerLog
0.1.4
This package has moved to a new id: complog. Please uninstall Basic.CompilerLog and install complog instead.
See the version list below for details.
dotnet tool install --global Basic.CompilerLog --version 0.1.4
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Basic.CompilerLog --version 0.1.4
#tool dotnet:?package=Basic.CompilerLog&version=0.1.4
nuke :add-package Basic.CompilerLog --version 0.1.4
Compiler Logs
This is the repository for creating and consuming compiler log files. These are files created from a MSBuild binary log that contain information necessary to recreate all of the Compilation instances from that build.
The compiler log files are self contained. They must be created on the same machine where the binary log was created but after creation they can be freely copied between machines. That enables a number of scenarios:
- GitHub pipelines can cleanly separate build and build analysis into different legs. The analysis can be done on a separate machine entirely independent of where the build happens.
- Allows for easier customer investigations by the C# / VB compiler teams. Instead of trying to re-create a customer build environment, customers can provide a compiler log file that developers can easily open with a call to the API.
complog
This global tool can be installed via
dotnet tool install --global Basic.CompilerLog
From there the following commands are available:
create
: create a compilerlog file from an existing binary logdiagnostics
: print diagnostics from the specified compilationsexport
: export complete compilations to diskref
: export references for a compilation to diskrsp
: generate rsp files for compilation eventsprint
: print the summary of a compilerlog on the command line
Info
⚠️ A compiler log will include potentially sensitive artifacts ⚠️
A compiler log file contains all of the information necessary to recreate a Compilation
. That includes all source, resources, references, strong name keys, etc .... That will be visible to anyone you provide a compiler log to.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated | |
---|---|---|---|
0.3.6 | 404 | 8/16/2023 | |
0.3.5 | 344 | 8/2/2023 | |
0.3.4 | 265 | 6/29/2023 | |
0.3.2 | 221 | 6/28/2023 | |
0.3.1 | 230 | 6/28/2023 | |
0.3.0 | 230 | 6/22/2023 | |
0.2.9 | 217 | 5/31/2023 | |
0.2.8 | 213 | 5/24/2023 | |
0.2.7 | 238 | 5/11/2023 | |
0.2.6 | 275 | 4/10/2023 | |
0.2.5 | 347 | 3/16/2023 | |
0.2.4 | 372 | 2/24/2023 | |
0.2.3 | 337 | 2/23/2023 | |
0.2.2 | 332 | 2/23/2023 | |
0.2.1 | 451 | 1/5/2023 | |
0.2.0 | 396 | 11/30/2022 | |
0.1.4 | 406 | 11/17/2022 | |
0.1.3 | 553 | 9/22/2022 | |
0.1.2 | 486 | 8/17/2022 | |
0.1.1 | 528 | 7/15/2022 | |
0.1.0 | 519 | 7/15/2022 |