2 out of 3 rated this helpful Rate this topic

/Setup (devenv.exe) 

Forces Visual Studio to merge the resource metadata that describes menus, toolbars, and command groups from all VSPackages available.


devenv /setup

This switch takes no arguments. Entering the devenv /setup command is usually the last step of the install process. Using the /setup switch does not start Visual Studio.

This example completes the process of installing a version of Visual Studio that includes VSPackages.

devenv /setup
Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ
Not that simple.

Setting environment for using Microsoft Visual Studio 2010 x86 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>devenv /setup
Microsoft (R) Visual Studio Version 10.0.40219.1.
Copyright (C) Microsoft Corp. All rights reserved.

The operation could not be completed

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>

/setup to speed up Shell based application startup time for the first time.
We can add this command as a last step in the installer, when deploying Visual Studio Integrated and Isolated Shell based applications. This will help for a quicker startup. Also look for the /InstallVSTemplates switch which will extract project templates (if you have) to project templates cache.
Useful if packages were previously disabled and you want them to be enabled now

/setup is useful to restore the VS settings to their original state.  If you have, for instance, packages that failed to load and you clicked the button to disable them from loading in the future, you can get them back again with the /setup switch.  The original problem that caused the package to fail to load may or may not have been corrected so you may need to correct that before all packages load correctly.

 

This is similar to /ResetSkipPkgs, but also gets newly installed packages resource info completely registered.

Advertisement