gsiradze
gsiradze

Reputation: 4733

Razor engine intellisense stop working

As mentioned in title in my visual studio 2013 intellisense stopped working. I can't retrieve model information and can't even write @model mynamespace..

I've tried everything during day what I could find in google:

• unload/reload

• restart vs/windows

• switch to another project (but there is same result)

• tools >> options >> text editor >> all languages >> auto list members/parameter information (they're checked already. I tried uncheck and then check but it's same)

• repair vs

• Tools->Import and Export settings->Reset all settings

Is there any other way?

Upvotes: 0

Views: 161

Answers (4)

Hakan Fıstık
Hakan Fıstık

Reputation: 19411

Close the view and re-open it

Also, you can try the shortcut key Ctrl + Space to show up the Intellisence

Upvotes: 0

scottdavidwalker
scottdavidwalker

Reputation: 1511

Delete the hidden .suo file in your folder structure, also delete the componentmodelcache stored in the visual studio folder in your c drive.It will be something similar to:

C:\Users\yournamehere\AppData\Local\Microsoft\VisualStudio\14.0

AppData folder will also be hidden.

Hope it helps

Upvotes: 0

SᴇM
SᴇM

Reputation: 7213

Set the .net version from your project properties to latest.

Upvotes: 0

Iskander Raimbaev
Iskander Raimbaev

Reputation: 1362

If you face this problem on each project, then I suppose that problem may be related to Visual Studio itself. Did you do some update or manipulations with system files during the last days?

Upvotes: 1

Related Questions