我下载了
example written in asp.net mvc3 visual studio 2010的源代码
通过visual studio 2012打开解决方案文件.它将源代码覆盖到2012年并打开解决方案.
当我构建解决方案时出错:
Error 1 The type ‘System.Web.Mvc.ModelClientValidationRule’ exists in
both ‘c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC
3\Assemblies\System.Web.Mvc.dll’ and ‘c:\Program Files (x86)\Microsoft
ASP.NET\ASP.NET Web
Pages\v2.0\Assemblies\System.Web.WebPages.dll’ C:\studyCode\MVCDemo-Part12\MVCDemo-Part12\MVCDemo\Attributes\Validation\EqualAttribute.cs 54 28 MVCDemo