Closed mqhout closed 4 months ago
It's a bit confusing, but the visibility constraint only works before the package is loaded. After the package is loaded (it's loaded when your command first runs), then it's the command's responsibility to control it's visibility.
See #487
Yes that is it. Thanks for finding this for me.
I have implemented DynamicVisibility on a menu button. This works fine, my menu button only shows up on C# files in the context menu of the Solution Explorer. But after a first use of this button, it also shows up on other types of files. So the execution of the command impacts the DynamicVisibility. Could this be a bug or am I doing something wrong?