It is impossible to get SpecFlow to work in Visual Studio 2010 no matter what I do !!! eleven

When I add a link in a Visual Studio 2010 project through NuGet for Specflow 1.9, I cannot add any functions no matter what I do. I restarted VS, restarted my computer, created new projects, etc. None of this allows me to use SpecFlow. That is, when I go to Project> Add New Item, I do not see any SpecFlow files in the "Add New Item" dialog box.

It is worth noting that I do not have the "ItemTemplates" directory, which supposedly exists in "C: \ Program Files (x86) \ TechTalk \ SpecFlow \".

It's also worth noting that I have Visual Studio 2012 Web Express installed, but I'm not sure why this will prevent function files from appearing in the Add> New Item section of the VS 2010 project!

Any help is greatly appreciated.

+5
source share
6 answers

You also need to install SpecFlow through the Visual Studio Extension Manager.

Tools> Extension Manager

Installing through Nuget gives you a link to the SpecFlow DLL - it does not install files for function templates, etc. in Visual Studio.

+10
source

Try installing SpecFlow using the package manager console, for example

PM> Install-Package SpecFlow

Read more about Package Manager Console

0
source

ngm.

NuGet SpecFlow, , .

VSIX , .

0

, SpecFlow, NUnit, SpecFlow NUnit, NuGet, " > ". NUnit " > ", /.

0

VS 2013, SpecFlow nuget, . :

  • SpecFlow Visual Studio 2013.
  • "".
  • After downloading the file (for example, TechTalk.SpecFlow.Vs2013Integration.vsix), double-click it and it will start the installation process.
  • Close VS 2013. After you run it again, you can see the templates.

Hope this helps other people too.

0
source

After using the package manager to install the DLL files, you need to use the tools → "Add-in Manager" to add Specflow to the templates.

0
source

All Articles