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

Visual Studio Shell 14 upgrade ruins captured F1 functionality

$
0
0

Hello,

I have an application created with the Shell 12, and in an autoloaded VS Package I capture the F1 command and overwrite its original behaviour with the following code

m_objDTE = (DTE)GetService(typeof(DTE));

var F1HelpGuid = typeof(VSConstants.VSStd97CmdID).GUID.ToString("B");
var F1HelpID = (int)VSConstants.VSStd97CmdID.F1Help;

F1HelpEvent = m_objDTE.Events.CommandEvents[F1HelpGuid, F1HelpID];
F1HelpEvent.BeforeExecute += CapturedF1HelpCommand;

But after the upgarde to Shell 14 this functionality is not working.

Could You please help me what changed? Does the F1 command ID changed?

Thanks in advance


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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