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

后端 未结 3 1499
花落未央
花落未央 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:55

    It seems to me that it works fine if you put the delimiters <% and %> on a line by themselves. What I did was this: go to Tools menu and click on Options, then under Environment -> Task List add a new ToTranslate token. Click OK to accept the change. Back on the ASPX page I added the comments on a line by themselves and the code delimiters on lines by themselves.

提交回复
热议问题