Reputation: 1805
When Visual Studio build or package Solution, output window comes with
------ Build started: XXXX...
But, can I see actual command to execute MSBuild with every switches, which are configured in Project/Solution? Such as
c:\xxx\yyy\MSBuild.exe /t:compile /switches ...
------ Build started: XXXX...
I want to make a script to automate a packaging process. I can create it by myself, but it'd be helpful if I can see that.
Upvotes: 13
Views: 9291
Reputation: 100543
Microsoft proviedes the ProjectSystemTools extension that allows you to do build logging. It can log both the design time builds (e.g. what happens when you load the project or when NuGet restores packages) as well as the actual build processes.
Upvotes: 3