Possible to have Visual Studio TODO comments in aspx/ascx files appear in task list?

后端 未结 3 1495
花落未央
花落未央 2021-02-07 12:03

We develop asp.net webforms using visual studio 2008. For multilingual support, we translate all our text. However, when designing, we usually just enter the english text and

3条回答
  •  走了就别回头了
    2021-02-07 12:31

    You do not need the <% %> on lines by themselves. This example shows what works and what does not:

    <%//ToTranslate will work%>
    <%/*ToTranslate will work*/%>
    
    
    

    It may be due to the fact that what's differentiating between an HTML comment and some form of aspx comment is getting messed up by the -- because that's part of an html comment?

提交回复
热议问题