Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

My context menu item made by menu command in Visual Studio Package is not shown in cshtml files.

$
0
0

I made a menu command and it works fine in .cs files as you can see below.



The penultimate item "Build this project" is the created item.

But when I try it in cshtml files, this item is not shown.

I'm suspecting that the problem is in the Groups section of my vsct file.

I'm setting the menu item as a child of IDM_VS_CTXT_CODEWIN

Looking for a similar issue, I found the Microsoft VsMenus page: https://msdn.microsoft.com/en-us/library/bb163231(v=vs.100)

In this page I didn't find another parent to my menu item.

My goal is to build the active document's project directly from this menu item in context menu of VS's editor.

Can someone help me?

Thanks


Márcio Alves Gonzalez Web programmer


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>