Can't de-activate Visual Studio Extensions. ReSharper deactivated itself - visual-studio

Most of my Visual Studio Extensions can't be deactivated or activated any more. I've searched for a solution and tried 'Clear MEF Component Cache' but that didn't work.
Another suggestion was to uninstall the extension, restart VS, uninstall the extension again (somehow the extensions are supposed to still there) and restart VS again. The problem here is, that some of the deactivated extensions cant even be uninstalled, so even if that works for some, it won't work for all of them.
I tried to repair DevExpress with the installer but its still the same. It's not too bad with DevExpress though, because DevExpress seems to at least be activated and still works. But somehow ReSharper deactivated itself and now I can't use it any more. I can't uninstall it via the 'Extensions and Updates'-window either. And if I hover the cursor over the 'Activate'-button, it says 'This product can not be DEactivated', which is odd, because it IS deactivated.
Any suggestions on what could be causing this and/or how to fix it?
I am using Visual Studio Professional 2015 Version 14.0.25431.01 Update 3.

The items are greyed out because they are installed per-machine, rather than per-user. Which basically means they were installed by an installer, rather than through Visual Studio's extensions dialog. ReSharper is one such application - it installs via an installer, rather than using Visual Studio's VSIX mechanism. You can't uninstall it from the extensions dialog, but have to go through the Add/Remove Programs dialog in the computer's control panel.
As for ReSharper being deactivated - check in Tools → Options → ReSharper to see if ReSharper has been suspended. In which case, just active it again. If not, go to Add/Remove Programs and either repair the install, or uninstall/reinstall.

Related

Unable to disable extensions in Visual Studio

I am unable to disable/remove some extensions in Visual Studio 2015, including extensions like the "Multilingual App Toolkit" and "MySQL for Visual Studio" that I have installed myself. In several cases, both the Disable and Uninstall buttons are grayed out in the Extensions and Updates manager.
I've tried starting VS as administrator, and also launching VS in safe mode (using devenv.exe /safemode).
Why is it not possible to disable some extensions, and what is the correct way to safely disable them?
You can manage extensions from Visual Studio only if they use standard .vsix installer. If they use other installer like .msi you typically use Control Panel - Programs and Features to uninstall them.
Windows Control Panel -> Programs and Features can uninstall most of those addons.
For anything else, there is an awesome simple utility: Total-Uninstaller. It can uninstall virtually anything, including hidden stuff.
Warning: uninstalling too much can make Visual Studio crashing / unusable and can even damage Windows installation. Make sure to back up important info before proceeding.

Fully removing Resharper Ultimate from Visual Studio 2013

I was running Visual Studio 2013 with Resharper 8, and everything was fine and dandy untill I tried to install Jetbrain's Dottrace trial version. It brought with it something called Resharper Ultimate, which in turn made sure none of my Intellisense or Resharper features worked.
So I uninstalled Resharper Ultimate using the Windows uninstall feature. But Visual Studio seems to still consider it installed, because its options appears in the program's preferences dialog. Not to mention the top menu choice.
I have also tried installing Resharper 8 anew, in hopes that it will cleanse my machine of Ultimate, but it detects no previous installs. So now, I'm getting options dialogs for both Resharper and Resharper Ultimate. And none of the features work.
Plus I'm getting this error message when opening a solution with Resharper active:
I have looked at the mentioned XML file, but am not sure of what to make of it.
The solution from ReSharper Support Site:
To completely remove new .NET tools from Visual Studio, please try the
following:
Run ReSharper 9.x (new .NET Tools) installer once again - do you have
any products with status Repair? If so, please select Remove for them
and select Skip for others. If there are no items with Repair action,
please remove the following folder manually C:\Users{User
Name}\AppData\Local\Microsoft\VisualStudio{Visual Studio
version}\Extensions\JetBrains
I would try to clean the registry as per this article.
At the top of the blog post, there is a continuation of this story which describes fow to finalize the fix of the issue you experience by removing manifest and package definitions of your VS extensions.
Hope it helps

Resharper 8.0 in Visual Studio 2013

I've been using Resharper (v8.0.14.856) with VS2012 for some time now, but I've recently installed VS2013. However, Resharper does not appear in the menus for VS2013, or in the options (under Tools->Options).
I've re-run the installer, and selected VS2013. As far as the
installer is concerned, it is installed for VS 2013.
I've tried repairing the install.
I've tried deleting the
%AppData%Roaming\JetBrains folder (as suggested elsewhere).
I've read this:
http://resharper-support.jetbrains.com/entries/21204867-ReSharper-is-not-available-in-Visual-Studio-after-installation and I've tried running Visual Studio with /resetskippkgs command line
key.
I am an administrator, so I've run the installer as administrator, and I run VS2013 as administrator.
I've tried running in Compatibility mode for Windows 7
I've also tried contacting JetBrains, but have yet to receive a reply
Note. I don't have an "\Common7\IDE\Extensions" folder, but I don't have one for my VS2012 install either, and Resharper works just fine there.
Does anyone have any other suggestions?
You need 8.1 to work with VS2013.
http://blog.jetbrains.com/dotnet/2013/11/04/visual-studio-2013-support-resharper-81/
This is also marked with a small "8.1" image on this page:
http://www.jetbrains.com/resharper/whatsnew/
Cheers
I had the same issue. I Googled around and found a blog post explaining how to add a previously installed Resharper to various newly installed versions of Visual Studio on your machine via the Windows Control Panel.
The article outlines these steps...
Go to 'Control Panel' and select 'Programs and Features'.
Select 'JetBrains ReSharper' and click on 'Change'.
The ReSharper Setup main dialog will appear, here click on 'Change'.
The ReSharper Setup integration options dialog will appear, check the Visual Studio version that that you wish to enable ReSharper in. Click 'Install'.
Here is the original blog post...
http://fitgeekgirl.com/2014/02/25/enabling-already-installed-resharper-for-newly-installed-visual-studio/

How to disable Style Cop visual studio extension?

How to disable the Style Cop visual studio extension? It's not listed in Tools / Extensions or in Tools / Add-in manager
I had the same issue: I uninstalled it using Add/Remove programs and got the expected error, when I opened Visual Studio next time. Still after hiding this error message, the StyleCop entries remained in my context menus.
After some research, I found a solution to remove all remains by running devenv.exe /setup on the command prompt. You must run the console elevated and you might have to switch to the C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE folder (or similar; depending on your system) in order to run the command.
Remember to remove the assotiated Code Cleanup profile if you are using ReSharper.
Source: http://stylecop.codeplex.com/discussions/257772
You can't, StyleCop deliberately hides itself from the uninstall menu in Visual Studio.
You can uninstall it in Add/Remove programs. You might get an error the next time you open Visual Studio but it will be gone after that.
why it happens is : mostly because you uninstalled the style-cop while visual studio was open
how to fix it
remove the registry keys
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\InstalledProducts\StyleCop
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\Packages{629EB7CC-69C2-43AC-9BC9-482B0F810C4E}
OR
reinstall & then uninstall (make sure your visual studio is closed during this process)
if you are using resharper
you would need to reset the Code Cleanup Profile to factory defualt to get rid of style-cop completely.
I had the same issue. I have already uninstalled it from Visual Studio by ReSharper Extension Manager and it there was under the right click menu still when I click any projects on Solution Explorer.
This way will solve the problem:
Steps:
Remove the StyleCop by Add/Remove Programs on control panel
If you have already uninstalled the StyleCop, install once again by ReSharper extension manager.(There will be many error at the first opening Visual Studio after the styleCop uninstall process. don't worry about it, press enter all)
Then Remove it by Resharper extension manager again.
I had the VS15 StyleCop plug-in installed and later added the ReSharper extension on top.
I removed the extension from ReSharper, then uninstalled StyleCop via Control Panel Add/Remove Programs and then let CCleaner run with registry clean-up.
The StyleCop entries have disappeared from the menus and the billions of squiggly lines have as well.
The easiest way is to install "StyleCop" extension from Visual Studio Marketplace. Which also can be found from the link :
https://marketplace.visualstudio.com/items?itemName=ChrisDahlberg.StyleCop
Now right click your project and click on "StyleCop Settings", there you you can disable or customize the rules.

Re-enabling stylecop

I think I may have accidently disabled stylecop in my Visual Studio 2008 enviroment. If I right click a project and click "Run Stylecop", or "Stylecop Settings" nothing happens. Its the same from the Tools menu. It runs fine from Visual Studio 2005. I have Microsoft StyleCop 4.3.3.0. I was playing about with making custom rules and may have clicked Yes on a random box that popped up when there was a problem with a custom rule dll that I created, so I think this may have disabled Stylecop in my VS 2008 enviroment.
Does anyone know how to get this re-enabled? I have re-installed stylecop but to no avail.
Thanks
Neil
Problem solved, run devenv /resetskippkgs (not from cmd though, has to be via windows interface)

Resources