Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command line to start visual studio and disable add ins/Extensions for that instance

I am writing a Visual Studio template wizard. And to debug it I have it start a new instance of Visual Studio 2010.

My Visual Studio 2010 takes a good while to start up. I believe that this is due the the add-ins and extensions that I have installed for visual studio.

I would rather not go disable them all (I really like them). So I was hoping there was a way to disable them via the command line.

Just run a clean Visual Studio instance.

Is there a way to do that?

like image 935
Vaccano Avatar asked May 18 '12 15:05

Vaccano


People also ask

How do I disable extensions in Visual Studio?

Uninstall or disable an extensionFind the extension and click Uninstall or Disable. Restart Visual Studio to unload a disabled extension. You can disable VSIX extensions but not extensions that were installed using an MSI. MSI-installed extensions can only be uninstalled.

How do I start Visual Studio from command line?

On the Start screen, press Ctrl+Tab to open the Apps list, and then press V. This brings up a list that includes all installed Visual Studio command prompts.

What is Devenv command?

Devenv lets you set various options for the IDE, build projects, debug projects, and deploy projects from the command line. Use these switches to run the IDE from a script or a . bat file (such as a nightly build script), or to start the IDE in a particular configuration. Note.

How do I run Devenv EXE?

Press windows + r to open run window and then write "regedit" to open your PC registry. Then go to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> Currentversion -> App Paths -> devenv.exe. Click on devenv.exe and change the value of default .


1 Answers

Try safemode

devenv.exe /safemode

which

Starts Visual Studio in safe mode, and loads only the default environment and services, and shipped versions of third-party packages.

See http://msdn.microsoft.com/en-us/library/xee0c8y7.aspx

like image 118
MikeG Avatar answered Oct 02 '22 19:10

MikeG