I don't know how it happened, but for about a week now Visual Studio keeps switching the active project everytime I move between files (of different projects) in the same solution. Of course when I press F5 to start debugging or Ctrl+F5 to run the tests, it tells me that it can't start because the class library can't be started directly... It switched the active project again.
This is driving me nuts and I can't find a setting to turn it off. I've got the following addins installed:
- ReSharper 4.5
- TeamCity
- AnkhSVN 2.0.something (latest)
- GhostDoc
- Gallio
I've enabled and disabled the Track Active Item in Solution Explorer option, but that didn't help.
Anyone an idea?
Thank you!
Updates:
- I checked the ProjectGuid as suggested by sharptooth and all projects have a unique guid.