类型或命名空间名称“脚本”不存在于命名空间“System.Web” [英] The type or namespace name 'Script' does not exist in the namespace 'System.Web'
问题描述
我完全没有什么可以尝试的事情
可以在Visual Studio中使用发布命令直接发布到网站?如果没有,请使用该命令发布到机器上的类似站点,然后将其复制到客户站点。
您还应该查看 IIS Web部署工具。它可以复制整个站点,包括IIS设置和任何数据库。它将内置于VS2010中。
I just deployed a website into IIS 7 (about which I am woefully ignorant), and upon trying to build the site, I receive this error. I did a little googleing and I saw an article that said I should put system.web.extensions.dll into the /bin. But, I also saw an article saying not to do that. I tried it anyway, but I just received a different error ('Resource cannot be found'). I am totally clueless as to what else to try
Can you use the "Publish" command in Visual Studio to publish directly to the site? If not, then use that command to publish to a similar site on your machine, then copy it to the customer site.
You should also look into the IIS Web Deployment Tool. It can copy an entire site, including IIS settings and any databases. It will be built into VS2010.
这篇关于类型或命名空间名称“脚本”不存在于命名空间“System.Web”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!