Lately, when I wanted to create a sample program with an IdentityServer4 I bumped into a problem with NuGet.
I invoked the following commands:
mkdir identityserver4
cd identityserver4
dotnet new is4aspid
dotnet build
and after that I received the following error:
So I went to NuGet documentation and under the link NuGet Error NU1108 I found this:
After that, I noticed that the problem is with the project name. Its name was the same as the referenced NuGet package. So to resolve this problem I changed the project name and my sample project was build succeeded.