System.Web.UI.ScriptManager' is defined in an assembly that is not referenced. But it is in the assembly?

我是研究僧i 提交于 2019-11-30 23:56:07

Add: targetFramework="4.0" to the compilation tag.

<compilation debug="true" **targetFramework="4.0"**>

For all those who, like me, still have this problem after reading the solution, I can well highlight that it is essential to add the reference System.Web.Extensions (As mentioned in the question ).

<add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

We just deleted the files with the warnings/errors and were planning on loading them back in but when deleted we republished with no errors and no issues so we never put them back in. Just a suggestion but try it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!