AWS Toolkit SSO on Visual Studio 2022 - Assembly AWSSDK.SSOOIDC could not be found

0

I've setup my AWS SSO profile on my windows PC and it's working fine in on AWS toolkit with VS Code. However the same profile is giving me the following error when I try AWS toolkit for Visual Studio 2022.

I have tried adding AWSSDK.Core new nuget package but still keep failing with the same error. New nuget package is version 3.7. Not sure if AWS Toolkit is looking for the exact 3.3 version of awssdk.Core.

I am wondering if anyone has had any success with SSO on AWS Toolkit-Visual Studio 2022?

Assembly AWSSDK.SSOOIDC could not be found or loaded. This assembly must be available at runtime to use Amazon.Runtime.SSOAWSCredentials, AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604.

2 Answers
0

Hi,

From the post I understand that you are trying to set up AWS toolkit for Visual Studio but are getting the error "Assembly AWSSDK.SSOOIDC could not be found or loaded. This assembly must be available at runtime to use Amazon.Runtime.SSOAWSCredentials".

After investigating I was able to find a thread that goes over this issue here (1). The likely fix is to update the the version of the tools that you are using. Per the thread that change fixed the issue. I hope you have a great rest of your day!

References

(1)https://github.com/aws/aws-extensions-for-dotnet-cli/issues/172

AWS
SUPPORT ENGINEER
answered 2 years ago
0

This was a bug which has been fixed in v 1.34.0.0

https://github.com/aws/aws-toolkit-visual-studio/issues/268

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions