Build Errors - 'System.Web.Mvc.ModelClientValidationRule' Conflicts

后端 未结 5 1559
一生所求
一生所求 2020-12-09 03:01

I am trying to \'build\' my MVC3 web app in VS2010 however keep getting the following error:

Error 2 The type \'System.Web.Mvc.ModelClientValidationRule\' exists

5条回答
  •  一整个雨季
    2020-12-09 03:34

    After installing MVC4 beta today, a few of my MVC 3 projects would not compile. (ModelClientValidationRule conflict) The fix was:

    Edit:

    ProjectName.csproj
    

    Change

     
    

    To

    
    

提交回复
热议问题