views:

190

answers:

1

In Visual Studio 2008, when i click on Debug > Start Without Debugging (or CTRL + F5) happens the same thing as if I clicked on Test > Run > Tests in Current Context / All Tests in Solution
After few attempts of fixing, now every time I run project I get this warning:

"Executing the current test run will produce a new test run result, which will exceed the limit of 25 that is currently specified. If you continue, older test run results and their associated deployments will be deleted from the hard drive..."

Any ideas how to get things back to default state?

+2  A: 

Did you accidently set your test project as "startup project"?

If so: right click the project that you actually want to run, and pick "Set at startup project..." (or something along those lines). Next time you hit F5 or Ctrl + F5 this project will run.

Jørn Schou-Rode
yep, you're right... thanks!!!
ile
is there some shortcut to change this cause i don't think i have accidently scrolled down, clicked on test projects and clicked on set as startup :)
ile
Not one that I know of, but it is possible. Look through the menus in VS and see if the "Set as startup project..." option is available there as well. If it is, a keyboard shortcut might be mentioned here as well.
Jørn Schou-Rode