Assembly Binding Redirection and Code Analysis

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

    See http://davesbox.com/archive/2008/06/10/reference-resolution-changes-in-code-analysis-and-fxcop-part-1.aspx and http://davesbox.com/archive/2008/06/14/reference-resolutions-changes-in-code-analysis-and-fxcop-part-2.aspx for a bit of background information.

    In VS2010/FxCop 10.0, there's a new /assemblyCompareMode command line switch for fxcopcmd.exe that allows you to specify the comparison mode without mucking about with the .config file. You can specify this in you VS project by using the CodeAnalysisAdditionalOptions MSBuild property.

提交回复
热议问题