Brandon Moore
Brandon Moore

Reputation: 8790

Visual Studio Intellisense keeps lying to me

I just added a new reference and added a using statement for the assembly I want. However, intellisense isn't picking it up and gives me squigly lines when I try to use it. When I go to compile it corrects itself and everything is fine... for about 60 seconds then it starts complaining again as if it didn't just realize the reference was really there.

Anyone run into this before and know how I might go about figuring out why Intellisense is confused?

Upvotes: 4

Views: 299

Answers (1)

Brandon Moore
Brandon Moore

Reputation: 8790

Basically, building the project fixed the problem. It was definitely telling me it couldn't find a reference that was there in the beginning, but I tried to 'correct' it not realizing that it was already correct. And there was some other confusion involved that I won't go into.

Long story short, Intellisense is not the habitual liar I thought it was... just a casual liar.

Upvotes: 1

Related Questions