We just ran into surprising behaviour in VS.NET 2010 SP1. We're not sure if this is new or we never noticed it before. Imagine a solution with two projects: A (ASP.NET web application in C#) & B (regular DLL in C#). A references the project B. Therefore, B's DLL gets copied over to A's bin folder when rebuilding the full solution.
- If you build project A, it will also build all of it's dependencies first. Hence, both get rebuilt.
- If you build project B, only B is rebuilt.