Kazimierz Matyaszek
Kazimierz Matyaszek
~1 min read

Tags

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: Build failed.

So I went to NuGet documentation and under the link NuGet Error NU1108 I found this: nu1108

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.