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

1311人阅读 评论(0) 收藏 举报
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: 

如何修正更新到ASP.NET AJAX 1.0之后的智能提示影响 

* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    • 访问:3215758次
    • 积分:32494
    • 等级:
    • 排名:第157名
    • 原创:260篇
    • 转载:76篇
    • 译文:5篇
    • 评论:6454条