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回答
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
サポートエンジニア
回答済み 2年前
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

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン