Assembly Binding Redirection and Code Analysis

前端 未结 4 498
天命终不由人
天命终不由人 2021-01-30 20:31

I\'m using DotNetOpenAuth (which references System.Web.Mvc version 1.0.0.0) in a Mvc 3.0.0.0 project in Visual Studio 2010.

I\'m using assembly binding redirection as fo

4条回答
  •  深忆病人
    2021-01-30 21:20

    Just to supplement with a little more precise answer:

    You need to either run FxCopCmd.exe with:

    fxcopcmd.exe /assemblyCompareMode:StrongNameIgnoringVersion
    

    or modify your Visual Studio project file for each build configuration's property group, like this:

    
      ...
      /assemblyCompareMode:StrongNameIgnoringVersion
    
    

提交回复
热议问题