views:

16

answers:

1

Is there a way to filter errors/warnings by project in Visual Studio 2010?

For example, if project A has dependencies for project B and C, Visual Studio will show errors/warnings for both project A, B and C, even whenever I compile project A alone.

I don't mind if VS show A's errors/warnings when I compile the entire solution, but I would like VS to show only A's errors/warnings whenever I compile it alone.

+2  A: 

I don't think you can completely filter the errors and warnings of a particular project out, especially not if there are dependencies that are failing. You can't know about problems in A if it depends on B and B is not building.

In the errors list pane (View > Error List), the last column is "Project", and you can click the column header to sort your errors. The sorting should be good enough.

Samuel Meacham