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 in both 'c:Program Files (x86)Microsoft ASP.NETASP.NET MVC 3AssembliesSystem.Web.Mvc.dll' and 'c:Program Files (x86)Microsoft ASP.NETASP.NET Web Pagesv2.0AssembliesSystem.Web.WebPages.dll' C:UsersrownpDocumentsVisual Studio 2010ProjectsCabCabModelsAccountModels.cs 223 28 Cab
Also, every time I open the solution, it prompts me with the following:
I install via Web Platform Installer and it installs successfully however the message reappears every time I open the solution.
Can anyone offer any guidance?
Thanks Paul
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…