Version number:
<specFlow>
<!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config -->
<unitTestProvider name="MsTest" />
<stepAssemblies>
<stepAssembly assembly="Hayai-TestTools"></stepAssembly>
</stepAssemblies>
</specFlow>
Code behinds of feature files contains error message:
I downgraded to integration 2017.1.6.vsix to make work again
Only creating a .net fw 462 test project with a feature file.
This error is fixed with SpecFlow 2.3.
you are totally right
@omarpiani Can I close the issue? Is it fixed for you?
yes, there was other people like me in #922 with same problem
@omarpiani thanks!
We could not find a data exchange file at the path Unhandled Exception: System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
Please open an issue at https://github.com/techtalk/SpecFlow/issues/
Complete output:
Unhandled Exception: System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at TechTalk.SpecFlow.VisualStudio.CodeBehindGenerator.CommandLineHandling.PreLoadAssemblies()
at TechTalk.SpecFlow.VisualStudio.CodeBehindGenerator.CommandLineHandling.PreLoadAssemblies()
at TechTalk.SpecFlow.VisualStudio.CodeBehindGenerator.Program.Main(String[] args)
Command: c:usersdbaigappdatalocalmicrosoftvisualstudio15.0_ef1f29faextensionsofkcgrbe.xrdTechTalk.SpecFlow.VisualStudio.CodeBehindGenerator.exe
Parameters: GenerateTestFile --featurefile C:UsersDBaigAppDataLocalTemptmp3E42.tmp --outputdirectory C:UsersDBaigAppDataLocalTemp --projectsettingsfile C:UsersDBaigAppDataLocalTemptmp3E3E.tmp
Working Directory:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
This error is fixed with SpecFlow 2.3.