I have the same error after installing Windows security updates for the .Net framework (KB2742595).
- When removing KB2742595 the test runs.
- When installing KB2742595 and I disable the TypeMock add-in and extensions in VS the test runs.
I tried to add System or System.Uri to the blacklist.dat file but that didn't help.
The error also occurs when the test isn't using Typemock.
Typemock 7.1.7
Windows 2003 SP2
Using Visual Studio 2010 and VS2012 is not installed.