What is the default location for MSBuild logs?

Viewed 63084

I am using Visual Studio Express 2012. Where is the location of the log file? I have searched in the folder where my solution and projects are stored, but cannot find any .log file.

This is the configuration for logging:

enter image description here

4 Answers

Use build output instead of logging to file. Instead of copy/paste, simply click somewhere in the output and press CTRL + S to save. Visual Studio will prompt you for a location (tested with Visual Studio 2017, but I'm assuming this works in earlier versions too).

enter image description here

The msdn documentation is pretty clear about this (And you ain't gonna like it!):

https://msdn.microsoft.com/en-us/library/jj651643.aspx

Where it says:

To create a build log file for a managed-code project On the menu bar, choose Build, Build Solution.

In the Output window, highlight the information from the build, and then copy it to the Clipboard.

Open a text editor, such as Notepad, paste the information into the file, and then save it.

Related