Can I add Task List items to csHTML in Visual Studio 2010?

The following should work.

@{
    //TODO: do stuff here
 }

or

@{/* TODO: do stuff here */}

As it first has to go into “code” mode, and then you can use a task comment.

But apparently the following does not work (in my visual studio):

@*TODO: do stuff here *@

Leave a Comment