Skip to content

Developing VS2010 Integration

pilor edited this page Oct 22, 2011 · 6 revisions

If you want to contribute on the VS2010 integration development, here are some useful trick how you can work and test the integration and have the official SpecFlow release installed at the same time.

You have to do the following steps to setup your environment:

  1. Install SpecFlow (official release)

  2. Close all VS2010 instances

  3. Move folder “TechTalk\SpecFlow” from “C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions” to “C:\Usersyouruser\AppData\LocalMicrosoft\VisualStudio\10.0\Extensions\TechTalk\SpecFlow”

  4. Open the file “C:\Program Files (x86)\TechTalk\SpecFlow\extension.vsixmanifest” in a text editor (Admin Mode) and change the setting <InstalledByMsi> to false

  5. Start VS2010, go to “Tools/Extension Manager…” and enable the SpecFlow extension if disabled (as you have changed the InstalledByMsi setting, the “Uninstall” is also enabled here, but you should not use it, but uninstall SpecFlow from the add/remove programs)

  6. Restart VS2010, check in the extension manager that the SpecFlow extension is enabled

  7. Start VS2010 Experimental instance - SpecFlow should not be listed in the extension manager here, so you are ready to test your own compilation

Steps to compile & test VS2010 integration changes

  1. Open the SpecFlow solution

  2. Select the “VS2010IntegrationTest” solution configuration

  3. Apply changes in the VS2010 integration & build the solution - this will register the VS2010 integration for the experimental instance

  4. Start VS2010 Experimental instance and test/debug your changes

Clone this wiki locally