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

Solution Explorer Context Menu Items (View Code/Designer)

$
0
0

I'm working on a VS Package with custom editors.  The editors have xml files as the root project items and .cs and .Designer.cs files nested as sub ProjectItems beneath them.  I want to get VS to display the View Code and View Designer menu items in the context menu of the Solution Explorer.  I have no idea what mechanism triggers those to show up.  I've chased the rabbit down the ProvideEditorLogicalViewAttribute hole and its associated registry entries, but no matter what I put in there, only VSConstants.LOGVIEWID_Primary is ever asked for in the IVsEditorFactory.MapLogicalView method.  What am I missing to get those menu items to show?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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