I just installed the 'specflow.nunit' package via nuget, but the project containing the specs want compile anymore, because of the SpecFlowNUnitExtension
class that is added to the project is missing references to nunit.core (more specifically the 'NUnit.Core' and 'NUnit.Core.Extensibility' namespaces can't be found). Anyone else had the same issue? Have you managed to solve it?
I fixed it by installing the NUnitTestAdapter Nuget package.
Okei, seems I found away to solve it; The dll's needed can be downloaded from http://www.nunit.org/index.php?p=download. Download the 'bin'-version, extract the zip archive, and inside the folder 'lib' there are 2 assemblies that's needed by SpecFlowNUnitExtension: - nunit.core.dll - nunit.core.interfaces.dll
Add a references to these two dll's and project compiles.
(a bit awkward though; shouldn't these assemblies be bundled with the specflow.nunit package?)
Our fix was to delete SpecFlowNUnitExtension.cs from our project that was added during the install of the SpecFlow.NUnit NuGet package. According to the comments in the top of the file, it is only needed if you are using one of the nunit.console runners which we are not using.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With