Visual Studio context menu for TeamReview not present for certain filetypes

Jul 26, 2012 at 12:06 PM
Edited Jul 26, 2012 at 12:21 PM

I notice that in Visual Studio (2010) there is no TeamReview context menu for cshtml files is not shown.

How can I add this filetype (and others that might have the same problem) to the context menu?




Edit: The menu is shown in the HTML portion of the CSHTML, but NOT in the c# section of the file. So in the following case only in the part befor the @


 <div id="searchresultgrid">
@grid.GetHtml(htmlAttributes: new { id = "grid" },
tableStyle: "webgrid", etc, etc

Sep 12, 2013 at 12:24 AM
See a similar discussion here:
A work-around code be to open the file using a different editor within Visual Studio:
Right-click on the file in Solution Explorer for example and select "Open With..." > Source Code (Text) Editor.