title: Unable to run my SpecFlow features code through Console
body: <p>I am beginner in SpecFlow. I am unable to run SpecFlow features through console file.</p>
  <p>My NUnit Versions:</p>
  <ul>
  <li>NUnit - 3.13.1</li>
  <li>NUnit3TestAdapter - 3.17.0</li>
  <li>NUnit.ConsoleRunner - 3.11.1</li>
  <li>NUnit.Console - 3.11.1</li>
  </ul>
  <p><img src="https://i.stack.imgur.com/OUCE8.png" alt="enter image description here" /><br></p>
  <pre><code>C:\Users\.nuget\packages\nunit.consolerunner\3.11.1\tools&gt;nunit3-console.exe D:\automation\bin\Debug\netcoreapp3.1\automation.dll
  NUnit Console Runner 3.11.1 (.NET 2.0)
  Copyright (c) 2020 Charlie Poole, Rob Prouse
  27 October 2021 10:43:34
  
  Runtime Environment
  OS Version: Microsoft Windows NT 6.2.9200.0
  Runtime: .NET Framework CLR v4.0.30319.42000
  
  Test Files
  
  D:\automation\bin\Debug\netcoreapp3.1\automation.dll
  
  Errors, Failures and Warnings
  
  1) Error :
  NUnit.Engine.NUnitEngineException : The NUnit 3 driver encountered an error while executing reflected code.
  ----&gt; System.InvalidCastException : Unable to cast transparent proxy to type 'System.Web.UI.ICallbackEventHandler'.
  --NUnitEngineException
  The NUnit 3 driver encountered an error while executing reflected code.
  
  Server stack trace:
  at NUnit.Engine.Drivers.NUnit3FrameworkDriver.CreateObject(String typeName, Object[] args)
  at NUnit.Engine.Drivers.NUnit3FrameworkDriver.Load(String testAssemblyPath, IDictionary`2 settings)
  at NUnit.Engine.Runners.DirectTestRunner.LoadDriver(IFrameworkDriver driver, String testFile, TestPackage subPackage)
  at NUnit.Engine.Runners.DirectTestRunner.LoadPackage()
  at NUnit.Engine.Runners.DirectTestRunner.EnsurePackageIsLoaded()
  at NUnit.Engine.Runners.DirectTestRunner.RunTests(ITestEventListener listener, TestFilter filter)
  at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]&amp; outArgs)
  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
  
  Exception rethrown at [0]:
  at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
  at NUnit.Engine.ITestEngineRunner.Run(ITestEventListener listener, TestFilter filter)
  at NUnit.Engine.Runners.ProcessRunner.RunTests(ITestEventListener listener, TestFilter filter)
  --
  InvalidCastException
  Unable to cast transparent proxy to type 'System.Web.UI.ICallbackEventHandler'.
  at NUnit.Framework.Api.FrameworkController.LoadTestsAction..ctor(FrameworkController controller, Object handler)
  
  Test Run Summary
  Overall result: Failed
  Test Count: 0, Passed: 0, Failed: 0, Warnings: 0, Inconclusive: 0, Skipped: 0
  Start time: 2021-10-27 05:13:36Z
  End time: 2021-10-27 05:13:44Z
  Duration: 7.759 seconds
  
  Results (nunit3) saved as TestResult.xml
  </code></pre>
  <p><strong>Can you please help on this.</strong></p>
  <p>Thank you.</p>