0

I have the following during PEX exploration:

!error! [execution] runtime context Microsoft.Pex.Engine.Libraries.MicrosoftVisualBasicLibrary+ProjectErrorRuntimeContextAttribute+Context failed to open

[symbols] could not load symbols for C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll

[symbols] search path: ;

!error! [execution] runtime context Microsoft.Pex.Engine.Libraries.MicrosoftVisualBasicLibrary+ProjectErrorRuntimeContextAttribute+Context failed to rollback

I tried fixing this problem by uninstalling a couple of software updates (as explained in While running PEX getting error) but unfortunately the problem still remains.

Have anyone find a solution to this?

Best regards, JP

1
  • Welcome to StackOverflow! No need to add your signature - your user card is automatically placed below your posts. Commented Jul 5, 2013 at 10:15

2 Answers 2

1

I got same error.
At that time, I replaced .NET 4 with .NET 4.5.
After that, pex run successfully then. Please try.
http://www.microsoft.com/en-us/download/details.aspx?id=30653

Sign up to request clarification or add additional context in comments.

Comments

1

As a workaround, you can tell Pex not to instrument the VisualBasic assembly, if you do not need it.

Place the following line into PexAssemblyInfo.cs:

[assembly: PexInstrumentAssembly("Microsoft.VisualBasic", InstrumentationLevel=PexInstrumentationLevel.Excluded)] 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.