alx-ppv / ADS-delete-database

MIT License
34 stars 5 forks source link

Cannot Install Extension #4

Open robquinn opened 4 years ago

robquinn commented 4 years ago

I just tried to install the extension "ADS-delete-database" in Azure Data Studio. There were two notable issues:

Issue 1 Pressing 'install' within ADS does not work, it doesn't install the extension.

Issue 2 The deletedb-0.0.3.vsix executable on the release page fails to install with in an error

07/09/2020 05:26:16 - Microsoft VSIX Installer
07/09/2020 05:26:16 - -------------------------------------------
07/09/2020 05:26:16 - vsixinstaller.exe version:
07/09/2020 05:26:16 - 16.6.2051
07/09/2020 05:26:16 - -------------------------------------------
07/09/2020 05:26:16 - Command line parameters:
07/09/2020 05:26:16 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,G:\Downloads\deletedb-0.0.3.vsix
07/09/2020 05:26:16 - -------------------------------------------
07/09/2020 05:26:16 - Microsoft VSIX Installer
07/09/2020 05:26:16 - -------------------------------------------
07/09/2020 05:26:16 - Initializing Install...
07/09/2020 05:26:16 - Extension Details...
07/09/2020 05:26:16 -   Identifier         : deletedb
07/09/2020 05:26:16 -   Name               : Delete Database
07/09/2020 05:26:16 -   Author             : AlexP
07/09/2020 05:26:16 -   Version            : 0.0.3
07/09/2020 05:26:16 -   Description        : 
07/09/2020 05:26:16 -   Locale             : en-US
07/09/2020 05:26:16 -   MoreInfoURL        : 
07/09/2020 05:26:16 -   InstalledByMSI     : False
07/09/2020 05:26:16 -   SupportedFrameworkVersionRange : [0.0,2147483647.2147483647]
07/09/2020 05:26:16 - 
07/09/2020 05:26:16 -   SignatureState     : Unsigned
07/09/2020 05:26:16 -   Supported Products : 
07/09/2020 05:26:16 -       Microsoft.VisualStudio.Code
07/09/2020 05:26:16 -           Version : 
07/09/2020 05:26:16 - 
07/09/2020 05:26:16 -   References         : 
07/09/2020 05:26:16 - Signature Details...
07/09/2020 05:26:16 -   Extension is not signed.
07/09/2020 05:26:16 - 
07/09/2020 05:26:16 - Searching for applicable products...
07/09/2020 05:26:16 - Found installed product - Global Location
07/09/2020 05:26:16 - Found installed product - Visual Studio Community 2019
07/09/2020 05:26:16 - VSIXInstaller.NoApplicableSKUsException: One or more extensions are for Visual Studio Code. Try installing them in Visual Studio Code.
   at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Has anyone else experienced this? Or is there posssibly something wrong with my environment?

Mertsch commented 3 years ago

This is the intended behavior, although not really user friendly. For 2. you are supposed to hit the Install from VSIX button. https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix

Schooldoid commented 2 years ago

This is the intended behavior, although not really user friendly. For 2. you are supposed to hit the Install from VSIX button. https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix

maybe add this to your readme so people can just read it in the details when they download your extension. idk just a suggestion.