Reputation: 2209
I have quite an odd issue in VS 2015 CE. I'm working on a ASP MVC site and when I I try to access Model properties using Razor in view inside a method a visual studio immediately closes the intellisense window which shows the available properties.
Works perfectly:
@Model.Shared.UserName
Doesn't work
@Html.Raw(Model.Shared.UserName)
When I'm typing the "Model." inside a method, Visual studio keeps closing up the suggestion window. This is becoming really annoying. Has anyone experienced something similar?
Upvotes: 5
Views: 452
Reputation: 2209
A workaround that I've managed to satisfy myself with after half a year is to use ReSharper which amazingly fixed this issue as well. It's not exactly solution to why the Visual studio is acting this way, but there is probably little left to do.
Upvotes: 1