I have created a VSPackage using wizard that comes with VS SDK. The package defines one command that can be accessed from Tools menu. The package is loading fine, I can execute the command manually, from the command window, from command line (/Command
switch) or using DTE.ExecuteCommand() call ("Tools.MyCommand"). However I would like the command to accept switches and arguments. Currently whenever I try to execute my command with arguments I get something like:
Command "Tools.MyCommand" does not accept arguments or switches. How do I make sure that it accepts arguments? Should this be done during command registration inInitialize() method? Or maybe in .vsct file?