how to run visual studio without plugin and all third party feature
Asked Answered
M

6

73

i have installed many third party plugin add-ins in my visual studio.

now i want to run a instance of visual studio without all plugin addons and third party feature

just like mozilla firefox

how i can run visual studio without all plugin or add-ons. are their any method exist like other application

Mealworm answered 15/11, 2010 at 8:1 Comment(0)
C
106

All versions of visual studio can be started with a set of arguments.

Using devenv.exe /SafeMode allows you to run any version of visual studio (devenv.exe) in SafeMode that will disable 3rd party plugins.

You can either run devenv.exe /SafeMode using the command line or by creating a new shortcut. The devenv.exe executable is located in the \Common7\IDE\devenv.exe directory under the directory your visual studio is installed.

You may also want to look at devenv.exe /ResetSkipPkgs if you are having problems.

Crystallize answered 15/11, 2010 at 8:5 Comment(5)
Side note: /SafeMode will disable TFS as wellPeden
VS2012 had just started showing up (maybe related to installing VS Code) with just the menus and Extensions and Updates menu was showing up all black. Did a /resetsettings without result, then ran with /SafeMode and did some extension updates and not it works OK. Guess there may be case where there is some corruption that /SafeMode can help. In that case try to do some update or install some (any) extension to see if it fixes the issueCheckers
If you want to run VS as Admin in Safe Mode (e.g. so IIS projects will load), open up a command prompt as admin and then run devenv.exe /SafeMode from there.Mckown
Side note: /SafeMode will disable TestExplorer as wellImprovvisatore
Side note 2: with /SafeMode switch, ”Team Explorer” will be disabled. Left only with ”Pending changes” and ”Settings” enabledDisconnect
C
13

You can run the Visual Studio in safe mode, using the /SafeMode switch from the command line:

"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /SafeMode

This will prevent all third-party packages and add-ons from loading. If you find yourself needing to do this frequently, you can even create a new shortcut to Visual Studio and add this switch to the target path so that double-clicking that shortcut automatically opens Visual Studio in safe mode.

Cassy answered 15/11, 2010 at 8:7 Comment(2)
Note: you can use the developer command prompt to launch VS with these commands. Just search for "Developer Command Prompt" in the start menu. Then run devenv /SafeModeMccaffrey
@Mccaffrey has the right answer. No need to worry about paths, versions, etc.Bacchanal
C
5

For VS 2017, open a command window (Win+R) and run the following command:

C:\Program Files\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv /SafeMode

In 64-bit machine:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv /SafeMode

*Change Community with the respective version.

Carnivorous answered 14/12, 2017 at 6:5 Comment(1)
This is only true for Community edition. Replace Community in the path with your version (Professional or Enterprise)Beverlybevers
S
2

A other way is to reset the settings of Visual Studio

D:\VisualStudio2013\Common7\IDE\devenv.exe /resetsettings

In other cases VisualStudio is installed on a different harddrive.

Serration answered 28/4, 2015 at 7:42 Comment(3)
btw, this one seems to close VS after doing the resetCheckers
@GeorgeBirbilis VS is not closing on my system, I feel sorry for you If the fix does not help youSerration
Doing /SafeMode and then installing any extension/update fixed it in my case. Maybe some extension cache corruption?Checkers
T
1

You have to use /SafeMode switch for devenv.exe.

More at: http://msdn.microsoft.com/en-us/library/ms241278%28VS.80%29.aspx

Thumbstall answered 15/11, 2010 at 8:6 Comment(0)
I
0
  1. Press windows+R and type in run window :

For running Visual Studio : type devenv

For running VS Code : type code

enter image description here

  1. Press Ctrl+Shift+Esc to open Task Manager, in windows 10 open File menu and click "Run new task", in windows 11 click on "Run new task" button that is top of Task Manager window, then type for Visual Studio : devenv and for VS Code : code

enter image description here

Inventory answered 26/5 at 4:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.