We have two distinct team projects, both running in TFS 2013 / VS 2013. One of them always builds the whole solution when asked to run all tests in the Test Explorer window, while the other one does not build anything and just tries to run the tests again.
Sometimes we would like to prevent VS from building the whole solution, since we know it did not change or we just don't want to test against the modified changes, for instance.
What setting controls this behavior? I can't really see any differences between both projects to warrant different test behavior. I'm not using any settings file in neither of them, and this was tested with both projects completely cleaned (like deleting the .suo file for example).
I'm aware of two things that may help.
Do not copy
orCopy if newer
Tools -> Options -> Projects and Solutions -> Build and Run
check the checkbox: Only build startup projects and dependencies on RunI'm working with these settings and I don't have the issue thought I cannot guarantee it will help in your case.