Operation is not valid due to current status of the object

Whenever I try to run a unit test (either debug or run) I get a message box containing the following error:

'Operation is not valid due to current status of the object'

And it does not run the test.

Any ideas
This is greatly affecting my ability to move forward in my current project.

THanks



Answer this question

Operation is not valid due to current status of the object

  • gibic

    Hi,

    This is an odd bug that we used to see reported in our beta builds - if you shutdown Visual Studio, delete any .SUO files (these may be hidden files), and restart Visual Studio, you should be OK.

    Just to confirm, are you using a beta build, or the final release

    Thanks!

    Eric.


  • Operation is not valid due to current status of the object