locked
Unable to install extensions - VS 2019 RRS feed

  • Question

  • I recently installed VS 2019 Community on my D: drive.   When I try to install an extension, I get dialog saying that the installation failed and referencing a log, which contains the following:

    11/1/2019 9:03:45 AM - Microsoft VSIX Installer
    11/1/2019 9:03:45 AM - -------------------------------------------
    11/1/2019 9:03:45 AM - vsixinstaller.exe version:
    11/1/2019 9:03:45 AM - 16.4.25
    11/1/2019 9:03:45 AM - -------------------------------------------
    11/1/2019 9:03:45 AM - Command line parameters:
    11/1/2019 9:03:45 AM - C:\program files (x86)\microsoft visual studio\installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\vsixinstaller.exe,/appidinstallpath:D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe,/skuName:Community,/skuVersion:16.3.29424.173,/appidname:Microsoft Visual Studio Community 2019,/culture:en-US,/noep,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXhlxaxiov.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIX1jewbtaz.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXykmortyi.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXvs4hw2sa.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXpo2pc0a0.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXbcbx2q3m.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXu0qsmhhy.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXojgpaq3h.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXgvcyp2ea.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXp0kjkxbz.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIX1x5qsxbd.vsix,C:\Users\chjohnson.CALATLCORP\AppData\Local\Temp\VSIXebrh2n2t.vsix
    11/1/2019 9:03:45 AM - -------------------------------------------
    11/1/2019 9:03:45 AM - Microsoft VSIX Installer
    11/1/2019 9:03:45 AM - -------------------------------------------
    11/1/2019 9:03:47 AM - System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.VisualStudio.Setup.Cache.Instance.get_SupportsExtensions()
       at VSIXInstaller.SetupExtensions.GetLaunchableInstances(IQuery query)
       at VSIXInstaller.SupportedSKUs.EnumerateIsolatedInstalls(Action`1 callback)
       at VSIXInstaller.SupportedSKUs.AddInstalledLocationBasedSKUs(IntPtr userToken)
       at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
       at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData cmdLineData, IntPtr duplicatedUserToken)
       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)

    Friday, November 1, 2019 1:29 PM

All replies

  • Hi cjohnson1440,

    Welcome to MSDN forum.

    Did you install Extension from Visual Studio -> Extensions -> Manage Extensions?

    After checking the log file you shared I suggest you could try below steps to troubleshoot.

    #1. Repair Visual Studio from Visual Studio Installer -> find VS 2019 -> More -> Repair.

    #2. Try to install in safemode. (open developer Command Prompt for VS 2019 -> type devenv /safemode to start VS in safe mode)

    #3. Try to reset settings. (open developer Command Prompt for VS 2019 -> type devenv /resetsettings)

    #4. Try to manually uninstall and re-install this extension. (Extensions -> Manage Extensions)

    If this issue persists, I need your help to collect the setup log and for further research. Please download and run this collect.exe tool, go to %temp% folder and find the vslog.zip file, upload it to https://onedrive.live.com/ and share the link here.

    Hope all above could help you and any feedback will be expected.

    Best Regards,

    Tianyu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 4, 2019 9:24 AM