Closed nvborisenko closed 5 years ago
Gauge-csharp expects packages to be restored before executing the specs. i.e. run nuget restore
before gauge run specs
.
Gauge uses Fake
for building the project, and Fake
defaults RestorePackages
to false
Also, point to note - gauge allows specs to be run in parallel, in which case there are multiple gauge-csharp
processes spun up. Each runner process would attempt to build the target project and that can cause conflicts at file system.
If gauge expects already restored packages, make the same for building project. If I should restore packages, I should build project.
You can build the project outside gauge, set GAUGE_CUSTOM_BUILD_PATH
to the location of the build output directory. When GAUGE_CUSTOM_BUILD_PATH
is set, gauge-csharp will not build your project.
Closing this issue, feel free to open new issue if you face any problems.
I see:
As expected it fails with errors like:
It happens because of /p:RestorePackages="False"