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

The "GenerateFeatureCodeBehindTask" failed unexpectedly (SpecFlow v4 beta) #199

Open
cwcot opened this issue Sep 25, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@cwcot
Copy link

cwcot commented Sep 25, 2023

Has anybody experienced this error - I have added the NuGet packages for xRetry. I am running a newer version of SpecFlow. Have tried to downgrade but this introduces other issues in my project. If this is due to SpecFlow version is support for SpecFlow 4 coming?

    <PackageReference Include="specflow" Version="4.0.31-beta" />
    <PackageReference Include="SpecFlow.Tools.MsBuild.Generation" Version="4.0.31-beta" />
    <PackageReference Include="specflow.xunit" Version="4.0.31-beta" />
    <PackageReference Include="xRetry" Version="1.9.0" />
    <PackageReference Include="xRetry.SpecFlow" Version="1.9.0" />
@JoshKeegan
Copy link
Owner

Hi,
This will be due to the beta SpecFlow v4 you're using which isn't supported by xRetry.

Hopefully you're already aware, but SpecFlow development has stopped and the community are waiting to find out the future of the project. I'm sure it will continue in some form, either officially or as a fork, but until the future is clear I don't know if v4 will be released. You can follow the discussion on future development of SpecFlow here

@JoshKeegan JoshKeegan added the enhancement New feature or request label Sep 25, 2023
@JoshKeegan JoshKeegan changed the title The "GenerateFeatureCodeBehindTask" failed unexpectedly (SpecFlow) The "GenerateFeatureCodeBehindTask" failed unexpectedly (SpecFlow v4 beta) Sep 25, 2023
@cwcot
Copy link
Author

cwcot commented Sep 25, 2023

Thanks Josh, I was unaware. Appreciate the update :)

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

No branches or pull requests

2 participants