Skip to content

Instantly share code, notes, and snippets.

@asklar
Created April 19, 2022 18:11
Show Gist options
  • Save asklar/cef258d82d1b8001a760d54bd33f0f3b to your computer and use it in GitHub Desktop.
Save asklar/cef258d82d1b8001a760d54bd33f0f3b to your computer and use it in GitHub Desktop.
Collecting an msbuild binlog
  1. Install the Project System vsix in Visual Studio: open the Extensions menu -> Manage Extensions image

  2. Restart VS and open the build logging window image

  3. Clean the project, turn on recording in the build logging window, and build the project image

  4. You'll see a trace in the Build logging window. You can right click -> open external to open the trace in the binlog viewer. You'll need to install it from https://msbuildlog.com, or via Chocolatey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment