complog 0.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global complog --version 0.4.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local complog --version 0.4.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=complog&version=0.4.0                
nuke :add-package complog --version 0.4.0                

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:

  1. 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.
  2. 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 log
  • diagnostics: print diagnostics from the specified compilations
  • export: export complete compilations to disk
  • ref: export references for a compilation to disk
  • rsp: generate rsp files for compilation events
  • print: 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 Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.9.4 151 12/6/2024
0.9.3 154 12/3/2024
0.9.2 166 11/6/2024
0.9.1 184 10/23/2024
0.9.0 173 10/14/2024
0.8.4 141 10/11/2024
0.8.3 142 10/8/2024
0.8.2 182 9/20/2024
0.8.1 210 9/15/2024
0.8.0 187 9/9/2024
0.7.9 199 6/26/2024
0.7.8 141 6/10/2024
0.7.7 128 6/7/2024
0.7.6 151 5/28/2024
0.7.5 138 5/10/2024
0.7.4 206 5/7/2024
0.7.3 157 5/1/2024
0.7.2 164 4/29/2024
0.7.1 173 4/25/2024
0.7.0 181 4/25/2024
0.6.1 274 2/27/2024
0.6.0 238 2/21/2024
0.5.10 200 1/30/2024
0.5.9 202 1/29/2024
0.5.8 192 1/26/2024
0.5.7 327 12/26/2023
0.5.6 208 12/26/2023
0.5.5 235 12/21/2023
0.5.4 186 12/21/2023
0.5.3 249 12/12/2023
0.5.2 221 11/29/2023
0.5.1 187 11/28/2023
0.5.0 320 11/1/2023
0.4.1 280 9/26/2023
0.4.0 289 9/25/2023
0.1.2 305 9/25/2023