Specflow: ExternalRepositories not loading

Created on 2 Oct 2020  路  4Comments  路  Source: SpecFlowOSS/SpecFlow

I am attempting to contribute, but I cannot build the sln locally.
I forked the repo, and of course cloned to my machine.
Unfortunately, I cannot build the entire solution because I do not know what to do about the ExternalRepositories.

In VS 2019, it errors that the projects cannot be loaded. In addition, on the file system, the ExternalRepositories folder contains no projects.

Question

All 4 comments

Specflow uses submodules for the projects in the ExternalRepsotories folder.

You need to execute the following commands to clone the submodules

 git submodule init

 git submodule update

You should also check out the Local Setup section and other Contribution related sections in the documenation

Thanks @nemesv
I skimmed the documentation you linked to and did not find anything referencing the problem and solution mentioned above.
Should those details be added to the Contributing doc?

@GoFightNguyen another way to get the submodules is to clone it from the start recurse. And this is documented at https://docs.specflow.org/projects/specflow/en/latest/Contribute/LocalSetup.html#clone-the-code

But we forgot to link to this page in the Contributin.md. I fixed this now.

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.

Was this page helpful?
0 / 5 - 0 ratings