开发者

MVC 3 broke uncomment ctrl+k, ctrl+u in views?

开发者 https://www.devze.com 2023-01-28 03:57 出处:网络
I don\'t know if is related but after installing MVC 3 RC, I can\'t unco开发者_StackOverflow社区mment HTML tags in the views in either WebForm Views or Razor Views. Uncomment works with javascript and

I don't know if is related but after installing MVC 3 RC, I can't unco开发者_StackOverflow社区mment HTML tags in the views in either WebForm Views or Razor Views. Uncomment works with javascript and C# in controllers though.

Related to Razor View installation possibly?

Edit->Advanced->Uncomment Selection is grayed out.

MVC 3 broke uncomment ctrl+k, ctrl+u in views?


Works pretty well for me (ASP.NET MVC 3 RC):

MVC 3 broke uncomment ctrl+k, ctrl+u in views?

Make sure you have selected the entire commented text:

@*
<h2>@View.Message</h2>
*@
0

精彩评论

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