Reputation: 989
I have solution with very big number of projects in it and would like to see somehow progress of compilation.
As you probably know when compiling we see only those strings in Output Window (even if it's open widely) -
...
_CopyAppConfigFile:
Copying file from "app.config" to "bin\Debug\Bububu.exe.config".
CopyFilesToOutputDirectory:
Copying file from "obj\Debug\Bububu.exe" to "bin\Debug\Bububu.exe".
Bububu -> C:\Dev\Bububu\bin\Debug\Bububu.exe
Copying file from "obj\Debug\Bububu.pdb" to "bin\Debug\Bububu.pdb".
Build succeeded.
Well, I'd like to see something like "Build 13/26 succeeded..." Is this possible at all?
Upvotes: 1
Views: 384
Reputation: 7037
[EDIT]
My mistake. The screenshots in my answer are from Visual Studio 2012. The line numbers are not shown in Visual Studio 2010 using this technique.
You can get project build numbers for each project by setting the MSBuild project build output verbosity
setting in Tools/Options
.
Open Tools\Options\Projects and Solutions\Build and Run
dialog.
Set the verbosity setting to Detailed
as shown in the screenshot.
.
When you compile the solution you'll see a project number for each project at the beginning of the line output.
This doesn't give you the 4/12 format that you want, it's a start.
To get it closer to your desired formatting, look at creating a custom build task.
msbuild-custom-task-hello-world-walkthrough
Upvotes: 2