Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find FSI.exe #1092

Closed
vasily-kirichenko opened this issue Jan 20, 2016 · 4 comments
Closed

Cannot find FSI.exe #1092

vasily-kirichenko opened this issue Jan 20, 2016 · 4 comments

Comments

@vasily-kirichenko
Copy link
Contributor

Running build failed.
Error:
System.Exception: Start of process fsi.exe failed. The system cannot find the file specified
   at Fake.ProcessHelper.ExecProcessWithLambdas@76-16.Invoke(String message) in C:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 76
   at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, FSharpFunc`2 errorF, FSharpFunc`2 messageF) in C:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 76
   at Fake.FSIHelper.executeFSIWithArgs(String workingDirectory, String script, FSharpList`1 extraFsiArgs, IEnumerable`1 args) in C:\code\fake\src\app\FakeLib\FSIHelper.fs:line 75
   at FSI_0001.Build.clo@199-18.Invoke(Unit _arg9) in d:\github\FSharp.Configuration\build.fsx:line 200
   at Fake.TargetHelper.runTarget@329(String targetName) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 343

If I

fsi

than FSI starts normally.

@vasily-kirichenko
Copy link
Contributor Author

@forki
Copy link
Member

forki commented Jan 20, 2016

we don't bundle fsi anymore. Is it installed? Can we find it in any of the paths listed under https://github.com/fsharp/FAKE/blob/master/src/app/FakeLib/FSIHelper.fs#L14 ?

@matthid
Copy link
Member

matthid commented Jan 20, 2016

I would suggest calling FAKE instead of FSI for the documentation generation (ie changing the documentation generation to a FAKE script). This way you don't need fsi, FAKE will cache the script and you don't need defines for multiple documentation scenarios (just multiple FAKE tasks).

I did the change on projectscaffold some time ago here: fsprojects/ProjectScaffold@6e4a6b6

@vasily-kirichenko
Copy link
Contributor Author

Updated the script, everything works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants