开发者

Lost some intellisense in VS2010

开发者 https://www.devze.com 2022-12-26 19:05 出处:网络
Getting to grips with Visual Studio 2010, This compiles: var x = System.Web.Security.Membership.GetUser();

Getting to grips with Visual Studio 2010,

This compiles:

var x = System.Web.Security.Membership.GetUser();

And runs, however VS2010 gives no intellisense for x and reports it just as a 'local variable'.

Has anyone go开发者_如何学运维t any ideas?


this perhaps?

http://weblogs.asp.net/scottgu/archive/2010/02/26/no-intellisense-with-vs-2010-rc-and-how-to-fix-it.aspx

if you have upgraded your preferences are copied, however if you have something like resharper installed your intellisense preferences are actually turned off as resharper reimplements this.


VS2010 messed up, even though it was telling me the project was running at .net 4.0, changing it to 3.5 then back to 4.0 again fixed it.

0

精彩评论

暂无评论...
验证码 换一张
取 消