-
Notifications
You must be signed in to change notification settings - Fork 34
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
not working for .NetCore #121
Comments
Thanks for this - will look into it. @tforkmann is this what you saw? @bruinbrown any chance you can test this out on your mac? |
@hotyes you shouldn't need to do any workaround from my understanding. At least, on windows it works "out of the box" on netcore; evidently that's not the case on mac. |
Any news on this? I get the same error on Mac OS X with dotnet sdk 2.2.104. |
@j-sauer what IDE are you using? Did you tried to use the latest dotnet core 3 preview version 5? It comes with fsi and that solved a lot of problems for me. |
I'm using VS Code. Autocompletion works fine, but dotnet build results in this error. |
@j-sauer this could be related to incompatibility with FSharp Compiler Tools, which I'm in the process of removing. I'll put a beta version of the package out for you to test. |
Using .net core preview 5 I get the following error when running dotnet build: /usr/local/share/dotnet/sdk/3.0.100-preview5-011568/FSharp/Microsoft.FSharp.Targets(277,9): error MSB6003: The specified task executable "fsc.exe" could not be run. System.ComponentModel.Win32Exception (8): Exec format error [/Users/jens/Documents/Code/AzureTabletest/AzureTabletest.fsproj] |
Any news about this? If I can help, just let me know. |
@j-sauer There's a branch that's supposed to fix this but I'm stuck at the moment - I simply can't get the build to work in VS or Ionide in the editor, although code compiles when sent to FSI! Can you try out the I'm as frustrated as anyone with this because the project is effectively blocked at the moment - I have no idea at all what's wrong with the type provider :-/ |
@isaacabraham hi Isaac, I managed to resolve this for my build so maybe it gives you some clue for a global fix. Long story short, I came up with an explicit Mono compiler settings in fsproj:
This solves the build for me. But I did not invent this solution myself (that's why long story): I inferred it from a solution for another issue, somewhat similar (also Mac/Mono related), but with SqlProvider and more tricks needed (like copying DLLs etc). Luckily with StorageProvider no such tricks are needed and fsproj snippet provided above was the minimal necessary patch for me. Hope it helps somehow. |
I am trying to use it on my .net core library but when I use
dotnet build
I got error/usr/local/share/dotnet/sdk/2.2.200-preview-009813/FSharp/Microsoft.FSharp.Targets(271,9): error MSB6006: "fsc.exe" exited with code 8
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.14
OS Platform: Darwin
RID: osx.10.14-x64
Base Path: /usr/local/share/dotnet/sdk/2.2.200-preview-009813/
Host (useful for support):
Version: 3.0.0-preview1-26621-01
Commit: fc01d68000
the workaround dotnet/fsharp#3303 here is not work for me
The text was updated successfully, but these errors were encountered: