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

标签: asp.netajaxassemblyattributesstructuredelete
1266人阅读 评论(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: 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之后的智能提示影响 
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:3230704次
    • 积分:32106
    • 等级:
    • 排名:第151名
    • 原创:260篇
    • 转载:76篇
    • 译文:5篇
    • 评论:6399条
    周公的微博