What is the default location for MSBuild logs?

Hanxue picture Hanxue · Jul 17, 2012 · Viewed 53.2k times · Source

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

Answer

Dmitry Pavlov picture Dmitry Pavlov · Jul 17, 2012

Log file from Visual Studio is only supported for C++ projects. You just have to work with the output window for others.

See this similar thread: VS2010: minimal build log in output and detailed log in log file

And in case you happen to do this for a C++ project, the file is at:

... build log in the intermediate files directory ... The path and name of the build log is represented by the MSBuild macro expression, $(IntDir)\$(MSBuildProjectName).log.