阅读背景:

在已签名程序集中使用内部接口上的Moq的TypeLoadException

来源:互联网 

I am using the latest Moq (4.2.1502.911) in Visual Studio 2013 to mock an internal interface contained in another project. Both projects are signed with the same key. After searching here and elsewhere on the web I figured I had to add InternalsVisibleTo for the test assembly and "DynamicProxyGenAssembly2", using Moq's public key like so:I am using the latest Moq (4.2.1502.911) in Vis




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: