skip to Main Content

I am running Visual Studio 2022 with the AWS Toolkit for Visual Studio. Up until very recently it was working fine, but now when I load VS I see the following error:

enter image description here

If I click Yes (and repeat each time the popup appears), when VS is finished loading, I see this in AWS Explorer:

enter image description here

If I go to the VS Extension Manager, and browse for AWS Toolkit, it shows in the browse list and indicates that it is not installed:

enter image description here

So then, I clicked Install and went through the process of installing the extension and closed VS as instructed. The VSIX installer appears for a while, and then I see the message below, indicating that the extension is already installed:

enter image description here

After opening VS, I still get the initial "’AWSToolkitPackage’ package did not load correctly" popup, and Extension Manager still shows the AWS Toolkit as not being installed.

Has anyone else ever encountered this error? How do I fix this?

2

Answers


  1. Strange! I ran into the same issue a few hours ago this morning. Tried a number of things but no luck. Ended up reinstalling Visual Studio and that solved the issue.

    Login or Signup to reply.
  2. This happened to me also. I wonder if an update to the AWS Toolkit has corrupted it.

    You don’t need to reinstall VS, just manually remove the extension.

    The extensions are stored at
    C:Program FilesMicrosoft Visual Studio2022ProfessionalCommon7IDEExtensions

    Most extensions are in folders with unhelpful names, so order the list of folders by most recently modified – the AWS Toolkit should be in a folder near the top if you’ve recently attempted to reinstall it. For me, it was called "cjwfvp5x.jwg".

    Open the folder to check it contains AWS Toolkit stuff, and if so, delete it (close VS first).

    Once deleted, you should be able to reinstall the Toolkit.

    AWS Toolkit is still not showing in Manage Extensions, but it is there under the Extensions menu.

    For me, Amazon Q isn’t working. I don’t use the Toolkit for anything else. But this may be enough to fix the Toolkit for what you need it for.

    I’ve raised the issue with AWS

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search