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:
If I click Yes (and repeat each time the popup appears), when VS is finished loading, I see this in AWS Explorer:
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:
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:
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?
Update: This was ultimately a bug in Visual Studio. Visual Studio 17.11.5 onwards has a command to allow you to reset your extensions. See my new answer dated 10/10/24.
Official Answer from AWS from Issue 441:
We have published a new version (1.54.0.1) to the extension marketplace.
With this release,