I am trying to update VisualGDB to version 184.108.40.20625-r10 in Visual Studio 2017 (15.9.14) using a built-in VisualGDB update facility (Tools->VisualGDB->Manage VisualGDB Packages->Updates.
The update terminates with the following error message:
VisualGDB version: 220.127.116.1107
—————— System.Exception ——————
System.Exception: Unexpected download size: 47820800, expected 47824896
at i5.q1(String e, Int32 a, Int64 b, String c, String d)
at i5.a2(URLWithParameters b, Int64 e, String c, Int32 d, mq1 a)
at i5.l1.a(mq1 a)
For now I have worked around the problem by downloading the installer .msi file directly (outside of VS) and installing it.
By the way, another problem: VisualGDB update window also shows Adafruit Circuit Playground update from 1.8.4 to 1.8.5, when I click on it, it reports that it is being installed, then reports that installaiton was successful, but then the same update keeps showing in the update list (and the version reported for this package still remains 1.8.4, so it looks like the update never actually installs). Any ideas?
Update on Adafruit Circuit Playground playground issue: actually the list of installed packages now shows both versions 1.8.4 and 1.8.5 installed (instead of 1.8.5. replacing 1.8.4), and it shows that both of them are installed in the same folder.
Regarding the Arduino package numbers, indeed the default Arduino package layout would allow having multiple versions of the same package installed. This matches the behavior of the regular Arduino tools and should not cause any problems. If you would like to reclaim the disk space used by the old packages, it is safe to simply delete their folders.