开发者

Getting Intellisense inside <% %> tags

开发者 https://www.devze.com 2023-04-09 11:32 出处:网络
For some reason, Intellisense has stopped working inside code blocks (<% %>) in Visual Studio 2010 in both a开发者_运维知识库spx and ascx files. This was working, but I obviously flipped some setti

For some reason, Intellisense has stopped working inside code blocks (<% %>) in Visual Studio 2010 in both a开发者_运维知识库spx and ascx files. This was working, but I obviously flipped some setting unknowingly.

Anyone run into this before? It's pretty annoying.


Intellisense within inline code blocks is hit or miss a lot of times. I've tried to discern some logical reason for it, but there doesn't seem to be one.

I've noticed that it works sometimes if you close and reopen the page, or close and reopen Visual Studio, but I don't know of any sure-fire way to ensure that it works.

0

精彩评论

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

关注公众号