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.24k stars 754 forks source link

Error CS0305 Using the generic type 'ValueTask<TResult>' requires 1 type arguments while generating obj\x64\Debug\NUnit.AssemblyHooks.cs #2672

Open VijayaSree2019 opened 1 year ago

VijayaSree2019 commented 1 year ago

SpecFlow Version

SpecFlow.4.0.16-beta

Which test runner are you using?

NUnit

Test Runner Version Number

NUnit.3.13.3

.NET Implementation

equal or greater .NET Framework 4.6.1

Project Format of the SpecFlow project

Classic project format using packages.config

.feature.cs files are generated using

SpecFlow.Tools.MsBuild.Generation NuGet package

Test Execution Method

Visual Studio Test Explorer

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

Issue Description

Build error: CS0305 Using the generic type 'ValueTask' requires 1 type arguments \obj\x64\Debug\NUnit.AssemblyHooks.cs 23 N/A

Steps to Reproduce

packages.config

<?xml version="1.0" encoding="utf-8"?>

Link to Repro Project

No response

VijayaSree2019 commented 1 year ago

Using Visual studio 2022 with latest Specflow extension installed