Hello,
Welcome to our Microsoft Q&A platform!
You can try the following steps:
1.Please try to delete bin and obj folders, then restart VS and clean Solution > Rebuild Solution .
2.If the problem persist, make sure you have checked Tools->Nuget PM ->Nuget Package Manager settings -> Allow NuGet to download missing packages
Best Regards,
Jessie Zhang
If the response 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.