Reputation: 624
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 (e.g. 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.
Upvotes: 2
Views: 1303
Reputation: 7103
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.
Upvotes: 1
Reputation: 23715
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:
please check whether the installed extension is still under the folder and make sure that they are uninstalled cleanly.
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
.
In addition, if your VS2019 is not the latest version, please update it and see whether the issue persists.
Hope it could help you.
Upvotes: 2