You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following errors when attempting to add package to dotnet6 xunit project using VS Pro 2022 17.2.0:
info : Adding PackageReference for package 'Xunit.Gherkin.Quick' into project 'C:\Training\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick.csproj'.
info : Restoring packages for C:\Training\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick.csproj... error: NU1108: Cycle detected.
error: xUnit.Gherkin.Quick -> Xunit.Gherkin.Quick (>= 4.2.0).
info : Package 'Xunit.Gherkin.Quick' is compatible with all the specified frameworks in project 'C:\Training\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick.csproj'.
error: Value cannot be null. (Parameter 'path1')
Hello. The error is about a cyclic reference. I am not sure if that is correct. Maybe it is confusing your project name with the NuGet name because you have chosen the same name with a single letter case difference. Try to rename your project into a more unique and different name than the NuGet and then re-add the NuGet. Does that solve the error?
Getting the following errors when attempting to add package to dotnet6 xunit project using VS Pro 2022 17.2.0:
info : Adding PackageReference for package 'Xunit.Gherkin.Quick' into project 'C:\Training\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick.csproj'.
info : Restoring packages for C:\Training\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick.csproj...
error: NU1108: Cycle detected.
error: xUnit.Gherkin.Quick -> Xunit.Gherkin.Quick (>= 4.2.0).
info : Package 'Xunit.Gherkin.Quick' is compatible with all the specified frameworks in project 'C:\Training\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick\xUnit.Gherkin.Quick.csproj'.
error: Value cannot be null. (Parameter 'path1')
NuGet Error NU1108
Article
01/25/2021
2 minutes to read
4 contributors
Cycle detected: A -> B -> A
Issue
A circular dependency was detected.
Solution
The package is authored incorrectly; contact the package owner to correct the bug.
The text was updated successfully, but these errors were encountered: