-
Notifications
You must be signed in to change notification settings - Fork 585
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
Fsc.compileExternal documentation suggests possible to use with exe #2395
Comments
I'm not sure what is happening here and I'm not using a Mac. Can you try to send a fix? |
The problem is that a dotnet |
@wallymathieu why is that a problem?
So for new sdk there is no difference and for legacy we have helpers... |
So how is the correct usage of the command supposed to be? I mean, should the documentation be clearer about how it should be invoked on non-windows systems? |
Would the correct thing be to submit a pull request with ? |
Yes that would probably solve it for regular |
Description
Fsc.compileExternal
expects location of an f# compiler. On Mac OS X, you cannot pass in an.exe
since it's not an executable.Repro steps
Steps required to reproduce the problem
Use latest version of FAKE
Fsc.compileExternal fscExeLocation ...
Run on Mac OS X (and others)
Expected behavior
I would expect the documentation to reflect that the behavior is valid on Windows or that Fake takes care of wrapping the execution of Fsi exe. Perhaps by allowing a flag to indicate how you want that wrapping to be done on non Windows systems?
Actual behavior
Fails with a
Win32Exception: Permission denied
Known workarounds
Writing platform specific wrapper scripts in order to pass allow usage of exe.
Related information
The text was updated successfully, but these errors were encountered: