/ResetAddin (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here

Removes commands and command UI associated with the specified Add-in.

Syntax

Devenv /ResetAddin AddIn  

Arguments

AddIn
Optional. The command name of the Add-in.

Remarks

By default, the command name of the add-in is equal to <AddInSolutionName>.Connect.<AddInSolutionName>, and appears in Connect.cs as the commandName parameter of the Exec method. You can also verify the command name by starting to type the name of the add-in into the Commands window in Visual Studio, and using Intellisense to fill in the rest.

Example

The following example starts Visual Studio and prevents the MyAddin add-in from running at startup.

Devenv.exe /ResetAddin MyAddin.Connect.MyAddin  

See Also

Customizing Development Settings in Visual Studio
Devenv Command Line Switches