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#
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 (*).
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With