Replies: 1 comment
-
You can only use BeforeQueryStatus once your package has been loaded. So if you need to use it, you should set 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
-
I can use the
<CommandFlag>DynamicVisibility</CommandFlag>
that show/hide the popup window code menu with the extension.cs
and.vb
correctly. (Thanks @madskristensen for the sample)But on the popup, I want to use:
BeforeQueryStatus
because I want to check the current position in theclass
and class should inherit by aninterface
My old code working fine with
BeforeQueryStatus
(and sure I don't useDynamicVisibility
)It used
ProvideAutoLoad
that I don't want to use, it make my extension take time to load.Any help or sample with the combine
DynamicVisibility
andBeforeQueryStatus
wil be great. Tried a lot of cases but not success.Thanks.
PS: On the way convert all existing code to
Community.VisualStudio.Toolkit
, great lib.Beta Was this translation helpful? Give feedback.
All reactions