How to: Run Add-ins On the Command Line
As an alternative to using the Add-In Manager to start add-ins, you can configure an add-in to load by using the Devenv command line. This can be useful, for example, if you want to perform an operation outside of the Visual Studio integrated development environment (IDE) and still initiate an add-in, such as for unattended builds or Windows system tools.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. These procedures were developed with the General Development Settings active. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see.
To run an add-in on the command line
After creating or loading the add-in, open the Add-in Manager.
Check the box in the Command Line column for the add-in.
Checking this box notifies Visual Studio that the add-in can be invoked via the command line as well as through the Add-in Manager.
Exit Visual Studio.
In a Command Prompt window, start Visual Studio by using theswitch. For example:
devenv YourAddinSolutionName.sln /build.