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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则