如何重建VS2010 IDE Intellisense? [英] How to rebuild VS2010 IDE Intellisense?
本文介绍了如何重建VS2010 IDE Intellisense?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有些正在工作,有些没有工作.
some are working some are not working.
例如,
我做了
using System.Web.Security;
MembershipUser myObject = Membership.GetUser();
string UserID = myObject.ProviderUserKey.ToString();
Response.Write(UserID);
membershipuser不会以绿色突出显示.和System.Web.没有列出对象
the membershipuser is not highlighted in green. and System.Web. is not listing objects
但是代码运行正常.如何使智能感知正常?
but the code is working fine though. How do I make the intellisense work fine?
推荐答案
尝试重置您的Intellisense缓存Clear local cache
.
Try resetting your Intellisense cache, Edit
>Intellisense
>Clear local cache
.
或者尝试对其进行修改-删除您的[SolutionName] .sdf和.suo文件
Or try nuking it - delete your [SolutionName].sdf and .suo files
VS 2010等效为Rescan Solution
VS 2010 equivalent is Project
>Rescan Solution
这篇关于如何重建VS2010 IDE Intellisense?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文