Lost intellisense in VS2010

Introducing Visual Studio 2010

This compiles:

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

And it starts, however, VS2010 does not give intellisense for x and reports it as a "local variable".

Does anyone have any ideas?

+4
source share
2 answers

VS2010 went bad, although he told me that the project was running on .net 4.0, changing it to 3.5, and then again on 4.0 fixed it again.

+1
source

is it possible?

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

if you updated your settings, copied, however, if you have something like resharper , your intellisense settings are actually disabled as resharper repeats this.

+5
source

Source: https://habr.com/ru/post/1307057/


All Articles