Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Visual Studio 2010 put the MSBuild logs?

Where does Visual Studio 2010 put the MSBuild logs? I'm not even sure what they would be called. Any ideas?

Edit: This is C#

like image 616
Ian Avatar asked Apr 11 '11 12:04

Ian


People also ask

Where are Visual Studio logs saved?

Start Visual Studio ( devenv.exe ) with /Log parameter. You can press Start+R and then enter the command below for Visual Studio 2019 Enterprise. Change the path to devenv.exe depending on the actual Visual Studio version. The log file will be found in %AppData%\Microsoft\VisualStudio\ , under a subdirectory (*).

Does Visual Studio call MSBuild?

Visual Studio uses MSBuild, but MSBuild doesn't depend on Visual Studio. By invoking msbuild.exe or dotnet build on your project or solution file, you can orchestrate and build products in environments where Visual Studio isn't installed. Visual Studio uses MSBuild to load and build managed projects.

Does MSBuild require Visual Studio?

Use of the Build Tools require a valid Visual Studio license. If you can use the Visual Studio Community for free, you can also use the Build Tools with a valid free license.

Where is the build log file Visual Studio?

On the menu bar, choose Tools > Options. On the Projects and Solutions page, choose the Build and Run page. In the MSBuild project build output verbosity list, choose one of the following values, and then choose the OK button. Displays a summary of the build only.


1 Answers

When running VS from the command line you can use the /out switch to determine where the build logs should be placed. Sample:

devenv.exe /rebuild Release "MyProject.sln" /out "MyProject.log"

See MSDN

I have the feeling you mean "where does VS put the build logs when compiling from within VS" and not from the command line, but this might still help.

like image 115
Tom Juergens Avatar answered Sep 21 '22 01:09

Tom Juergens