-
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
Different behavior when running Fsc in FAKE vs fsc.exe #689
Comments
The Fsc task uses the FCS. What's inside test.fsx? |
(most people still use the MSBuild task and compile the whole fsproj or even the sln) |
I was able to reproduce with a simple project, see repo: https://github.com/pavelm/CompileFsx running with FAKE triggers the problem, but using fsc.exe works fine |
@forki I found a work around by using the
Seems like FSC is using an older mscorlib and/or FSharp.Core because of the |
I ran into the same issue, but it looks like a Fw 4.0 - 4.5 problem. i googled and found some similar issues. Is there any way to fix it without referencing an specific |
I guess the Fsc task should provide a "tool" property where you can override the executed tool (to execute an external |
I can work on this @matthid |
@vanceism7 yes please feel free to send a pr, help is wanted on this ;) |
As we now have the FSC module for fake 5 please report any issues the new module has |
I'm seeing an error when running the Fsc build on an
fsx
file, but it successfully compiles when running fsc.exe.fsc -I:bin/Debug test.fsx
vs
(I am using an extension method defined in a referenced library)
Could this be a versioning issue?
The text was updated successfully, but these errors were encountered: