I tried all options and nothing worked and then I installed Reqnroll extension for Visual Studio 2022 and disabled Specflow extension and it worked.