Having issues trying to get my eventhandler to run before or after a built in command #478
Unanswered
jimlocigno
asked this question in
Q&A
Replies: 1 comment
-
You need to add the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried many things, searched google, looked at Mads extension library - found something kind of close there - but this still isn't working for me at least.
I eventually have certain commands in mind that I want to execute my own code either before or after but no matter what approach I take my custom code does not seem to execute? I'm an experienced developer but very new to VSIX.
Everything I find, points me to a different way of executing custom code before or after a given command but nothing seems to work?
I set breakpoints in my eventhandlers below and they never get hit.
Anyhelp would be greatly appreciated!
Here is my latest try:
`
namespace VSIXProject13
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[InstalledProductRegistration(Vsix.Name, Vsix.Description, Vsix.Version)]
[ProvideMenuResource("Menus.ctmenu", 1)]
[Guid(PackageGuids.VSIXProject13String)]
public sealed class VSIXProject13Package : ToolkitPackage
{
}`
Beta Was this translation helpful? Give feedback.
All reactions