How to setup build batch file with project in subfolder?

halcwb's Avatar


06 Dec, 2014 09:31 PM

I have the following folder structure:


So in build.cmd I have something like:
src\packages\FAKE.3.11.3\tools\Fake.exe src\Build.fsx

However that fails. When I put the cmd directly in the build config then I get:

Build started
git clone -q --branch=master git:// C:\projects\gensolver
git checkout -qf 66cfe210581c0004623fbf4cbe7687c32662ae49
src\packages\FAKE.3.11.3\tools\Fake.exe src\Build.fsx
The system cannot find the path specified.
Command exited with code 1

Any ideas how to setup this configuration?

  1. Support Staff 1 Posted by Feodor Fitsner on 06 Dec, 2014 09:43 PM

    Feodor Fitsner's Avatar
  2. 2 Posted by halcwb on 06 Dec, 2014 09:56 PM

    halcwb's Avatar

    Thanks, works like a fly.

    Just my curiosity, why didn't this work with putting the commands in the cmd file? Surely, it is a relative path issue, but I am just curious.

  3. Support Staff 3 Posted by Feodor Fitsner on 07 Dec, 2014 03:47 AM

    Feodor Fitsner's Avatar

    There wasn't nuget restore and thus package

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac