小编Mau*_*ice的帖子

不能使用moles来模拟MVC框架

我试图为System.Web.Mvc DLL版本3生成痣,但是我收到以下错误:

 Moles : info : metadata : loading C:\TFS.as12.Projects\Project X\Main\Source\3rdPartyComponents\MVC3\System.Web.Mvc.dll
    Moles : info : compilation : output assembly name: System.Web.Mvc.Moles
Moles : warning : metadata : failed to load module System.Web.Mvc.dll:
Moles : warning : metadata : Inheritance security rules violated by type: 'System.Web.Mvc.CompareAttribute'. Derived types must either match the security accessibility of the base type or be less accessible.
Moles : warning : metadata : Inheritance security rules violated by type: 'System.Web.Mvc.RemoteAttribute'. Derived types must either match the …
Run Code Online (Sandbox Code Playgroud)

.net asp.net-mvc moles asp.net-mvc-3

5
推荐指数
1
解决办法
1386
查看次数

标签 统计

.net ×1

asp.net-mvc ×1

asp.net-mvc-3 ×1

moles ×1