Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

When upgrading my vs extension (vsix) the previous version of the extension is not properly uninstalled

$
0
0

I'm the author of a small OS extension (that can be found here). My users complain that after upgrading to a new version, the binaries of the previous version are still used.

For example,

1) I have a fresh installation of VS 2015.

2) Install version 2.5.2.10, I go to Help>About Microsoft Visual Studio to check this this version number.

3) Close VS

4) Install version 2.5.2.11

5) Start VS and go to Help>About Microsoft Visual Studio and see that the previous version number (2.5.2.10) is still displayed. Go to Extension and Updates>AsmDude and see that the version 2.5.2.11 is displayed.

6) Starting and restarting VS does not update the extension.

7) Start VS with logging (devenv.exe /log). A log entry is made that states that version 2.5.2.10 is marked for deletion.

<entry><record>420</record><time>2016/07/04 19:39:36.090</time><type>Warning</type><source>Extension Manager</source><description>Extension will not be loaded because it is marked for deletion.</description><path>[snip]\\VISUALSTUDIO\14.0\EXTENSIONS\wterbevq.1zd\extension.vsixmanifest</path></entry>

8) If you disable the extension, restart VS, enable the extension and restart VS, the version is updated.

Question: Why is the old extension not deleted after restarting VS. What can i do to track the problem. I have used Assembly Binding Log Viewer but no problems are shown.

Remark: I've asked a related question about the same problem here.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>