NU1108 error when installing NuGet package in my VS project

Advertisement

sander7
Joined:
Posts:
2

NU1108 error when installing NuGet package in my VS project

Hi,
I get an NU1108 - Cycle Detected error, when trying to install the NuGet package in my VS project.
This is no matter which of the 6-versions I try.
(haven't tried any of the 5-versions)

I have tried to install WinSCP, and reference it manually.
Works fine locally.
But after deployment to Azure Func, I get an error abt. missing assembly System.Threading.AccessControl.
I see from other posts, that I need to reference "the .NET standard build".
But I see only 1 dll in my program-folder, and that is the one I reference.

Hope you can help me out here.
TIA
// Alexander

Reply with quote

Advertisement

sander7
Joined:
Posts:
2

Hi again,

I managed to get my Azure func. to work in cloud as well.
Had wrong target framework.

Once I changed to .NET Core 2.1. (had .NET 6.0)
Found the correct dll to reference.
Added a whole lot of other missing dependencies.
It publishes and works as expected.

But still not able to install the NuGet package.
Same error (NU1108).
I'm pretty sure I did install it a couple of weeks ago, (VS2019)

// Alexander

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: NU1108 error when installing NuGet package in my VS project

Do you have the problem with any VS 2019 project (even basic .NET console app)? Or just with Azure projects? Please give us step-by-step instructions for reproducing the problem.

.NET 6 should not be a problem.

Reply with quote

Advertisement

You can post new topics in this forum