网站首页 新闻首页 网页设计图形动画软件编程网站开发办公软件操作系统数据库网络技术认证考试范文资料黑客攻防 书籍教程 进入论坛

How to fix intellisense issues after upgrading to ASP.NET Ajax 1.0 RC

http://www.diybl.com/ 2007-9-21  网络 点击:  [ 评论 ]
文章搜索:    【点击打包该文章】

Many people reported issues after upgrade from Atlas/Ajax Beta or CTP to the most recent RC build (1.0.61025). Typical symptoms are:

1. UpdatePanel, ScriptManager and other ASP.NET Ajax elements are squiggled as 'unrecognized'.
2. Formatting lost in UpdatePanel when switching from Design to Source view.
3. Weird __designer::wfdid attributes appear on ASP.NET Ajax elements
4. No intellisense is available for any of the new controls.

The reason it is happening is that structure of the ASP.NET Ajax-enabled Web site has changed. Name of the Ajax assembly changed as well as it's location and the namespace. Here is what you can do:

1. Before you install ASP.NET Ajax RC, make sure you uninstalled any previous releases.
2. After you install ASP.NET Ajax RC:

  • Remove reference to the old assembly which may still be sitting in the bin folder of the Web site or simply delete the old assembly from bin.
  • Delete cached intellisense schemas in
    • C:\Documents and Settings\USER\Application Data\Microsoft\VWDExpress\8.0\ReflectedSchemas
    • C:\Documents and Settings\USER\Application Data\Microsoft\Visual Studio\8.0\ReflectedSchemas
  • Add a web config file to the Web site from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.xxxx.
If site already has config file, you may have to manually add sections to it as described here: http://ajax.asp.net/docs/ConfiguringASPNETAJAX.aspx 
原文地址:
http://blogs.msdn.com/mikhailarkhipov/archive/2007/01/03/how-to-fix-intellisense-issues-after-upgrading-to-asp-net-ajax-1-0-rc.aspx

【译文】(待有时间我再翻译出来)
如何修正更新到ASP.NET AJAX 1.0之后的智能提示影响 

文章整理:DIY部落 http://www.diybl.com (本站)   【点击打包该文章】
如果图片或页面不能正常显示请点击这里 站内搜索:   

文章评论

请您留言

 

最新新闻