如何重建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