ProjectScaffold
ProjectScaffold copied to clipboard
"'fake' is not recognized as an internal or external command" when running build.cmd
Description
When I run build.cmd
for the first time, I get an error after restore has completed (the following is from a second run of build.cmd
):
Restore completed in 24,82 ms for D:\Code\GH\JsonSkippable\build.proj.
Restore completed in 12,76 ms for D:\Code\GH\JsonSkippable\build.proj.
'fake' is not recognized as an internal or external command,
operable program or batch file.
'fake' is not recognized as an internal or external command,
operable program or batch file.
Repro steps
Clone repo and run build.cmd
from the root of the repo.
Expected behavior
I get asked questions about project name etc.
Actual behavior
I get the error described above.
Related information
- Operating system: Windows 10
- Branch: master
I have assumed that FAKE should be installed as part of the bootstrapping process (restoring build.proj
). If this is not the case and FAKE is a prerequisite, this should be added to the documentation along with steps to install, e.g. dotnet tool install fake-cli -g
.
This project https://github.com/MangelMaxime/fulma-demo has clitool dotnet-fake
in the root paket.dependencies
, the scripts are named fake.cmd
and fake.sh
, and they run dotnet fake
instead of just fake
. Perhaps any or all of those can help?
(On a side note, something is wrong with GitHub... Wrong order and time travel 😆 )
I have #345 to address this issue with fake
by adding fake template from dotnet new fake