Hi @Crook, Ben I tested in my side with vs2019 and a newly created empty dot net 5 empty project, and I can install the packages you mentioned in the question.
So I'm afraid it may have relationship with you client. I searched for the error message in stackoverflow, and someone else met the same error as yours and high voted answer is recommending to clear the cache, I think you can also try it. You can also see steps below:
- In Visual Studio, click: TOOLS > NUGET PACKAGE MANAGER > PACKAGE MANAGER SETTINGS
- Select Option NUGET PACKAGE MANAGER > GENERAL
- In General, click on button CLEAR ALL NUGET CACHE(S) await a few seconds
- Try install again
If clearing cache doesn't work, I think you could try to install other stable version to rule out the possibility of SDK package issue, and can try to reinstall your vs client. I'll appreciate for any of your reply on the progress, many thanks.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
TinyWang