iTSrAVIE
iTSrAVIE

Reputation: 834

Issue with running Unit Test in Visual Studio 2012

I am getting the following error while building unit-test.

Error: "IUnitTestStorage.Open should be called before operation can continue."

I have never got this error before and all was working fine before this moment.

I have tried deleting all bin and obj files and rebuillding, it didn't help. Moreover, when I created new unit-test project (with no code of mine) and it gives the same error.

Closing all Visual Studio instances and starting them back didn't help as well.

I am using Visual Studio 2012 Premium Update 4.

Upvotes: 3

Views: 2304

Answers (4)

Ryan
Ryan

Reputation: 4414

I just closed and re-opened VS2015 and cleaned solution and it worked for me

Upvotes: 4

user1108948
user1108948

Reputation:

I got it today in Visual Studio 2015. Just delete all in debug folder, release folder and all in obj folder.

Build the solution then it works out.

Upvotes: 1

Kuldeep Vasani
Kuldeep Vasani

Reputation: 310

It's an issue with Updated version of Telerik Test Studio. Try Re-installing Telerik Test Studio to Resolve this. It works for me.

Upvotes: 0

Jan Barta
Jan Barta

Reputation: 460

According to this it helps to clean and rebuild solution, not just build. I know it's little bit silly but in case you haven't tried it...

Upvotes: 0

Related Questions