How can I reduce the build result of VS2010?

VS2010, 100+ projects in solution.

I’m tired of seeing 115+ lines in the section “Project Performance Summary”, “Target Summary” and “Task Performance Summary” after creating each project. It appears in the output window - and - in the log file. There is nothing useful (to me) in these lines (usually), and they just clutter up the output. VS2005 and VS2008 did not display all of these additional materials.

But I see no way to turn this noise off. These two options Tools-> Options-> ProjectsAndSolutions-> BuildAndRun "verbosity" do not affect this at all.

How can I prevent this part of the assembly?

+7
source share
2 answers

Unfortunately. I did not log in when I sent or when I answered. And not one of my browsers lost a cookie or anything that allowed it to remember me. Otherwise, I would edit the answer above. (It seems I'm doing everything wrong here.)

I wanted to post a solution to this problem. Hans was right that installing VS2010 on a system that already had VS2005 and / or VS2008 tried to save the configuration from the old version. This part of the old configuration was like this: Tools-> Settings-> Projects and Solutions-> VC ++ Project Settings -> Build Time

In the settings of VS2005 / VS2008 it was set to "Yes", but it seems to do nothing or not very little to display the assembly in these versions.

In VS2010, it includes the "Performance Overview" sections on output. In addition, this setting overrides the two verbosity parameters mentioned above, so these sections appear even if the detail parameters are in "Quiet".

I changed the "Build time" setting to "No", and now I only see these sections if the details are in the "Diagnostics". I think it should have worked.

So, this is the solution: set the "Time Assembly" to "No", and the "Summary of Results" sections will disappear (if you do not use the details options to enable them).

+11
source

[[I answer only my question, because the solution was provided in the comments on the original question above, and I see no way to mark his "Answer" without an answer. ]]

Tools -> ImportAndExport -> Reset, which were suggested by Hans Passant in the comments above.

As he warned, I first exported my settings, so now I can export the Reset settings and compare the two sets to see what change really caused the appearance of weird build. Then I restored the saved settings using this (hopefully) ONE change. If this works, I can tell everyone on my team how to fix this stupid problem that is plaguing us.

I will also post this item.

Now that I can see the correct output from the assembly, it seems that the output I reported was a weird combination of Minimal and Diagnostics. After the sections in the Performance Overview disappear, I will probably go with the release of Normal. I do not know why EVERYONE in our team ended this problem.

Thanks, Hans! :)

+1
source

All Articles