Attempting to Install an extension to VS2019 results in a NullReferenceException

后端 未结 1 586
被撕碎了的回忆
被撕碎了的回忆 2021-01-19 15:45

I\'ve not been able to add extensions to my VS 2019 since its release. I recently updated to Version 16.4.3 but I still get the same error when I try to add extensions.

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-19 16:29

    l wonder if you face this issue only in VS2019 but does work in VS2017.

    Besides, you can try these steps:

    1) delete all extension cache files under the path C:\Users\Admin\AppData\Local\Microsoft\VisualStudio\16.0_xxxx(the version of VS)\ComponentModelCache

    2) Disable any other third-party extensions and then install this extension to check whether it is caused by other extenisons.

    3) If you cannot install this extension in VS2019 but can work in VS2017. You can try to open the installation package xxxxp.vsix with zip

    First, open extension.vsixmanifest and change to this:

    
    
    

    Second, please also change "Microsoft.VisualStudio.Component.CoreEditor":"[15.0,16.0)" in catalog.json file to [15.0,).

    In addition, please share the info about how this issue appear and whether it works in other version of VS. And any other useful info should also be informed. If you have any errors related to this issue, please feel free to let us know.

    0 讨论(0)
提交回复
热议问题