Assembly Binding Redirection and Code Analysis

前端 未结 4 496
天命终不由人
天命终不由人 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:15

    In addition to peter_raven solution you can specify option to make Code Analysis work with TFS build. Add this in build options, process tab, advanced category in "MSBuild Arguments":

    /p:CodeAnalysisAdditionalOptions=/assemblyCompareMode:StrongNameIgnoringVersion
    

提交回复
热议问题