title: Specflow features aren't auto-generating cs files or appearing as tests in C# Nunit project
body: <p>(updated this post for clarity)</p>
  
  <p>I am unable to create a starting point C# Specflow Nunit project (contrary to following online tutorials and videos) whereby new specflow features autogenerate cs files and appear as runnable tests. </p>
  
  <p>Steps to reproduce:</p>
  
  <ol>
  <li><p>Install Visual Studio Community 2019 v16.3.5</p></li>
  <li><p>Extensions > Manage Extensions: Install Specflow for VS 2019 (v2019.0.36.11860). Restart VS to accept Specflow installation on wizard.</p></li>
  <li><p>New Project > Test > C# Unit Test Project (.Net Framework, C#, Windows, Test).  Name: myProject  Framework: 4.7.2</p></li>
  <li><p>Delete UnitTest1.cs auto generated project file</p></li>
  <li><p>From NuGet Manager for solution, add package: Specflow.NUnit v3.0.225 (select OK to make changes to solution, and accept package licences</p></li>
  <li><p>Add two folders to the project: Features, StepBindings</p></li>
  <li><p>An new item to Features folder: Specflow Feature File (type: Visual C# Item) name myFeature.feature</p></li>
  </ol>
  
  <p>outcome:
  no autogenerated feature cs file appears under the new green myFeature.feature file</p>
  
  <p>solution warning: Cannot find custom tool 'SpecFlowSingleFileGenerator' on this system.  (File: myFeature.feature) </p>
  
  <p>Note: Enable SpecFlowSingleFileGenerator is set to False under Tools > Options > Specflow</p>
  
  <ol start="8">
  <li><p>Right click on a step within myFeature.feature > generate step definitions > save as 'myFeatureSteps.cs' in StepBindings folder
  outcome: solution warnings: ScenarioContext.Current is obsolete (File: myFeature.feature lines 12, 18, 24)</p></li>
  <li><p>View-Test Explorer</p></li>
  </ol>
  
  <p>outcome: No tests shown, including when clicking run all (to trigger a build / discover tests / run in solution)</p>
  
  <p>Further exploratory steps:</p>
  
  <ol start="10">
  <li><p>(required?) Added nuGet package: NUnit3TestAdapter v3.15.1</p></li>
  <li><p>Updated nuGet package NUnit to v3.12.0</p></li>
  <li><p>Rebuilt project, clicked runAll in testexplorer, restarted Visual Studio</p></li>
  </ol>
  
  <p>final outcome: still no tests showing in runner, and auto generated code still shows with errors (ScenarioContext.Current)</p>
  
  <p>packages.config:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;packages&gt;
  &lt;package id="BoDi" version="1.4.1" targetFramework="net472" /&gt;
  &lt;package id="Gherkin" version="6.0.0" targetFramework="net472" /&gt;
  &lt;package id="MSTest.TestAdapter" version="1.3.2" targetFramework="net472" /&gt;
  &lt;package id="MSTest.TestFramework" version="1.3.2" targetFramework="net472" /&gt;
  &lt;package id="NUnit" version="3.12.0" targetFramework="net472" /&gt;
  &lt;package id="NUnit3TestAdapter" version="3.15.1" targetFramework="net472" /&gt;
  &lt;package id="SpecFlow" version="3.0.225" targetFramework="net472" /&gt;
  &lt;package id="SpecFlow.NUnit" version="3.0.225" targetFramework="net472" /&gt;
  &lt;package id="System.Reflection.Emit" version="4.3.0" targetFramework="net472" /&gt;
  &lt;package id="System.Reflection.Emit.Lightweight" version="4.3.0" targetFramework="net472" /&gt;
  &lt;package id="System.Threading.Tasks.Extensions" version="4.4.0" targetFramework="net472" /&gt;
  &lt;package id="System.ValueTuple" version="4.4.0" targetFramework="net472" /&gt;
  &lt;package id="Utf8Json" version="1.3.7" targetFramework="net472" /&gt;
  &lt;/packages&gt;
  </code></pre>
  
  <p>Note: the top packages element is underlined as "not declared"?</p>
  
  <p>Code to try and get project working:
  <a href="https://github.com/bobjames238745/getSpecflowWorkingWithNunit" rel="nofollow noreferrer">https://github.com/bobjames238745/getSpecflowWorkingWithNunit</a></p>