Install Project System Tools for VS 2022.
Open View
> Other Windows
> Build Logging
:
Hit the "play" button:
Go about your business, until you hit a performance issue (or bug!) you are interested in.
Save the logs and share them!
Note that Android has logs for Build
and Install
, while Windows
and other platforms may just have logs for Build
.
Matt Ward has an addin for VS Mac here:
https://github.com/mrward/monodevelop-project-system-tools/releases
Download the latest release and go to the Extensions...
dialog in VS Mac:
Choose Install from File
:
Open a .sln
and you should see View
> Other Windows
> Build Logging
:
Hit the "play" button:
VS Mac can open the .binlog
files:
From here you can save the file somewhere:
Simply add -bl
to every command you do, and if something goes wrong
there will be a msbuild.binlog
file in the current directory.