Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Xunit.Gherkin.Quick due to circular reference #129

Open
jpickering5 opened this issue Aug 24, 2022 · 1 comment
Open

Cannot install Xunit.Gherkin.Quick due to circular reference #129

jpickering5 opened this issue Aug 24, 2022 · 1 comment

Comments

@jpickering5
Copy link

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.

@ttutisani
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants