VS2010, 100+ projects in solution.
I'm tired of seeing the 115+ lines of the "Project Performance Summary", "Target Performance Summary", and "Task Performance Summary" sections after each proje开发者_高级运维ct is built. It shows up in the Output window -and- in the log file. There is nothing useful (to me) in those lines (usually) and they just clutter the output. VS2005 and VS2008 didn't output all of that extra stuff.
But I don't see any way to turn that noise off. The two Tools->Options->ProjectsAndSolutions->BuildAndRun "verbosity" settings don't affect that at all.
How can I prevent that part of the build output?
Oops. I wasn't logged in when I posted or when I answered. And no my browser has lost the cookie or whatever that let it remember me. Otherwise, I would have editted the answer above. (Seems I'm doing everything wrong here.)
I wanted to post the solution to the above problem. Hans was correct that the installation of VS2010 on a system that already had VS2005 and/or VS2008 tried to maintain the config from the older version. One part of the older config was this setting: Tools-> Options-> Projects And Solutions-> VC++ Project Settings-> Build Timing
That was set to "Yes" in my VS2005/VS2008 installations, but it seems to do nothing or very little to the build output in those versions.
In VS2010, it turns on those "Performance Summary" sections in the output. In addition, that setting overrides the two verbosity settings mentioned earlier, so those sections appear even if the verbosity settings are at "Quiet".
I changed the "Build Timing" setting to "No", and now I only see those sections if the verbosity settings are at "Diagnostic". I think that's the way it was intended to work.
So, that's the solution: Force the "Build Timing" setting to "No" and the "Performance Summary" sections go away (unless you use the verbosity settings to turn them on).
[[ I'm only answering my own question because the solution was provided in comments to the original question above, and I don't see any way to mark it "Answered" without an Answer being posted. ]]
The Tools -> ImportAndExport -> Reset that Hans Passant suggested in the comments above worked.
As he warned, I exported my settings first, so I can now export the Reset settings and compare the two sets to see what change actually caused the weird build output. Then I'll restore my saved settings with that (hopefully) ONE change. If that works, I can tell everyone on my team how to fix this silly problem that's been plaguing us.
I'll post that detail here, also.
Now that I can see the correct build output, it appears that the output I reported was a strange mix of "Minimal" and "Diagnostic". With those "Performance Summary" sections gone, I'll probably go with "Normal" build output. I have no clue why EVERYONE on our team ended up with that problem.
Thanks go to Hans! :)
精彩评论