简体   繁体   中英

Uninstall extension from experimental window C# - VS 2019

I am creating vsix project that is Editor Classifier (a template for managing editor content). I executed the project, the plugin was installed in that experimental window. It always worked properly. but when I install another plugin (eg a menu command or a tool window ), the previous plugin overlaps the current one.

I tried to uninstall the plugin directly from experimental window from Manage Extentions menu. All the previous extensions got uninstalled properly by doing this, but when I try to reinstall them, It could not be installed.

All the previous extensions got uninstalled properly by doing this, but when I try to reinstall them, It could not be installed.

This issue is more related to extension caches or for some reason it didn't uninstall cleanly.

So please try these steps to troubleshoot your issue:

  1. please check whether the installed extension is still under the folder and make sure that they are uninstalled cleanly.

  2. try to delete the extension cache files under the path C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\16.0_xxxxxx\ComponentModelCache and sometimes the extension is uninstalled on vs, but the cache is not removed, and the cache is detected to be uninstalled during installation.

And by the way, delete the system temp files under the path C:\Users\xxx\AppData\Local\Temp .

  1. try to do a repair in the VSInstaller to check whether VS is broken.

In addition , if your VS2019 is not the latest version, please update it and see whether the issue persists.

Hope it could help you.

You can try this: Clean up the experimental environment .
Quote:

If you are developing multiple extensions, or just exploring outcomes with different versions of your extension code, your experimental environment may stop working the way it should. In this case, you should run the reset script. It's called Reset the Visual Studio Experimental Instance, and it ships as part of the Visual Studio SDK. This script removes all references to your extensions from the experimental environment, so you can start from scratch.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM