SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.22k stars 752 forks source link

specflow.xunit cyclical dependency #2621

Closed AssBackwards closed 1 year ago

AssBackwards commented 1 year ago

SpecFlow Version

3.9.74

Which test runner are you using?

xUnit

Test Runner Version Number

3.9.74

.NET Implementation

.NET 6.0

Project Format of the SpecFlow project

Classic project format using <PackageReference> tags

.feature.cs files are generated using

SpecFlowSingleFileGenerator custom tool

Test Execution Method

Command line – PLEASE SPECIFY THE FULL COMMAND LINE

SpecFlow Section in app.config or content of specflow.json

I don't know

Issue Description

I am unable to install specflow.xunit using dotnet cli. When I run dotnet add package specflow.xunit I get:

error: NU1108: Cycle detected. 
error:   specflow -> SpecFlow.xUnit 3.9.74 -> SpecFlow (= 3.9.74).

Steps to Reproduce

dotnet add package specflow.xunit

Link to Repro Project

No response

SabotageAndi commented 1 year ago

Did you name the project "specflow"?

AssBackwards commented 1 year ago

Yes, I see what you mean. Recreating in a directory called learning-specflow has resolved this issue. Thanks!

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.