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?
↧