Error 1 Type "System.Web.Mvc.ModelClientValidationRule" exists simultaneously in "C:\Progra type" System.Web.Mvc.ModelClientValidationRule "simultaneous presence"

Source: Internet
Author: User

Solution:

Step1: First close your application scenario, find projectname.csproj ProjectName is your actual application name under the folder where you saved the project.

Step2: Open With text editor you find it find <reference include= "System.Web.WebPages"/> <reference include= "System.Web.Helpers"/ >

Then replace the two code with the following: <reference include= "System.Web.WebPages, Version=1.0.0.0,culture=neutral, publickeytoken= 31bf3856ad364e35, Processorarchitecture=msil "/> <reference include=" System.Web.Helpers, version=1.0.0.0, Culture=neutral, publickeytoken=31bf3856ad364e35, Processorarchitecture=msil "/>

Then save! Then use vs to open the application recompile OK pass!

Error 1 Type "System.Web.Mvc.ModelClientValidationRule" exists simultaneously in "C:\Progra type" System.Web.Mvc.ModelClientValidationRule " There is also a

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.