There is no type or namespace name "Script" in the Namespace "system.web" (is the assembly reference missing?)

Source: Internet
Author: User

Some information on the web said that the right mouse button on the item, add reference →. Net→system.web.entensions can do it.

In fact, many times on the Add Reference window in the project, System.Web.Entensions is not found at all.

Try to add configuration information (note <assemblies> Two lines of configuration ) under <system.web> in Web. config to solve the problem perfectly. Such as:

  <system.web>  <!--Set compilation debug= "True" to insert the debug symbol into the compiled page.        However, because this affects performance, this value is set to true only during development.  -  <compilationDebug= "true">   <Assemblies>        <AddAssembly= "System.Web.Extensions, version=1.0.61025.0, Culture=neutral, publickeytoken=31bf3856ad364e35" />        <AddAssembly= "System.Web.Extensions.Design, version=1.0.61025.0, Culture=neutral, publickeytoken=31bf3856ad364e35" />      </Assemblies>    </compilation>

There is no type or namespace name "Script" in the Namespace "system.web" (is the assembly reference missing?)

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.