MSBuild Log File Location

I run msbuild in the build script and I get this error:

MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt.

I can not find the MSBuild _ * file. failure.txt on my machine. Is this something you need to configure? If not, what will be the default location for this file?

+2
source share
1 answer

You can run

msbuild /v:diag > c:\log.txt

to make your log file go to c:\log.txt.

Alternative, you can use /flp:filename=c:\log.txt, more detailed information here .

0
source

Source: https://habr.com/ru/post/1676691/


All Articles