现在的位置: 首页 > 综合 > 正文

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

2013年12月01日 ⁄ 综合 ⁄ 共 1374字 ⁄ 字号 评论关闭
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之后的智能提示影响 

抱歉!评论已关闭.