DotnetRestore target failed during build
See original GitHub issueDescription
I have been trying to build Paket solution using build.cmd that comes with the repo and the build fails at Target DotnetRestore complaining “Cannot start process because a file name has not been provided.”
Repro steps
-
Clone repo
-
Run build.cmd from the command line.
Expected behavior
The build script should run successfully.
Actual behavior
I’m getting the following error.
Starting Target: DotnetRestore (==> Build)
restore C:\Users\nelson.lin\Source\Github\Paket\src\Paket.Core\Paket.Core\project.json
Running build failed.
Error:
System.Exception: Start of process failed. Cannot start process because a file name has not been provided.
at Fake.ProcessHelper.ExecProcessWithLambdas@79-16.Invoke(String message) in C:\code\FAKE\src\app\FakeLib\ProcessHelper.fs:line 79
at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, FSharpFunc
2 errorF, FSharpFunc2 messageF) in C:\code\FAKE\src\app\FakeLib\ProcessHelper.fs:line 79 at FSI_0005.Fake.DotNet.Cli.Dotnet(DotnetOptions options, String args) at FSI_0005.Fake.DotNet.Cli.DotnetRestore(FSharpFunc
2 setParams, String project)
at FSI_0005.Build.clo@151-9.Invoke(String proj)
at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc2 action, IEnumerable
1 source)
at FSI_0005.Build.clo@148-8.Invoke(Unit _arg1)
at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in C:\code\FAKE\src\app\FakeLib\TargetHelper.fs:line 492
Known workarounds
n/a
Issue Analytics
- State:
- Created 7 years ago
- Comments:34 (19 by maintainers)
Top GitHub Comments
Question is if it’s even possible to have net 45 + coreclr build in same fsproj
Am 01.11.2016 11:57 vorm. schrieb “Steffen Forkmann” sforkmann@gmail.com:
Yeah I guess that’s one for tomorrow
Am 01.11.2016 11:28 vorm. schrieb “Tomasz Heimowski” < notifications@github.com>:
Closing, now should work