.NET 3.0 Unit Testing getting System.MethodAccessException calling .NET 2.0

Posted by NealWalters on Stack Overflow See other posts from Stack Overflow or by NealWalters
Published on 2010-04-12T17:27:10Z Indexed on 2010/04/12 17:43 UTC
Read the original article Hit count: 907

Filed under:
|
|

Is there any way to get around this exception? Can I not call a .NET 2.0 from 3.5? I have to write .NET 2.0 to maintain capability with BizTalk 2006/R2. But I would like to test with VS2008 Unit Tests to be consistent to other non-BizTalk code that we are testing.

Test method ABC.UnitTest.UnitTest1.TestReferenceCode1 threw exception: System.MethodAccessException: ABC.EasyRegEx.extractUsingRegEx(System.String, System.String).

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET