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

FSC: error FS0243: Unrecognized option: '--preferreduilang' #817

Closed
cgravill opened this issue Oct 11, 2017 · 3 comments
Closed

FSC: error FS0243: Unrecognized option: '--preferreduilang' #817

cgravill opened this issue Oct 11, 2017 · 3 comments

Comments

@cgravill
Copy link

There appears to be a new compiler option which is breaking WebSharper as reported here: http://www.fpish.net/topic/Some/0/83366 however 15.4 is now fully released making this more widespread.

In places we've been able to workaround by downgrading to F# 4.0 but we have a shared projects where that's inconvenient. On my own machine I've manually altered my Microsoft.FSharp.Targets in C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0 to remove this field.

Any news on a resolution? We're running with the latest WebSharper release 4.0.193.110

@cgravill
Copy link
Author

Related on the other workaround of using FSharp.Compiler.Tools we're on a recent release of that too (4.1.27) which has this new option in its target file as well.

@Jand42
Copy link
Member

Jand42 commented Oct 11, 2017

@cgravill Thanks for the report, I am testing updating FCS or if the latest still can't handle it, removing it before passing the args to FCS. There will be a quick release fixing this.

Jand42 added a commit that referenced this issue Oct 11, 2017
@Jand42 Jand42 closed this as completed Oct 11, 2017
@cgravill
Copy link
Author

Thanks for the quick release!

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

No branches or pull requests

2 participants