I know there is another question with exact the same problem, but I went trough all those answers, and none helped me. :( (This was the question.)
I just created a new A
What worked for me:
Package Manager Console (Visual Studio 2019 Comunity):
Install-Package NuGet.CommandLine nuget locals all -clear
Rebuild solution.