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

[WIP] Support .NET Core as the FSAC runtime. #201

Closed
wants to merge 11 commits into from

Conversation

TOTBWF
Copy link

@TOTBWF TOTBWF commented Apr 19, 2019

This is very WIP, but it aims to support .NET Core as a runtime for FSAC. This would remove mono as a dependency for those that choose to.

Reed Mullanix added 9 commits April 18, 2019 10:33
FSAutoComplete has the option to run purely on
netcore, which would remove a dependency on mono
for some users. The reason behind the FSAutoComplete
version bump is that previous versions were not
properly building their release archives.
(See ionide/FsAutoComplete#373)
In order to add support for dotnetcore, we need to add another
case to the runtime checking. To do this, we add a variable
fsharp-ac-use-dotnetcore, and add a case to fsharp-ac-runtime
to account for this.
We want to have the ability to be able to easily switch inbetween
mono/netcore and dotnetcore without reloading emacs.
@TOTBWF
Copy link
Author

TOTBWF commented Apr 19, 2019

Right now, certain projects work, but others (mysteriously) fail with either

Unable to find the file 'netstandard.dll'

EDIT: This can be fixed by deleting the bin and obj folders and rerunning dotnet build
or

Unable to find the file 'System.Runtime.dll'

@TOTBWF
Copy link
Author

TOTBWF commented Apr 19, 2019

Right now, the biggest issue I'm facing is that when there multiple TargetFrameworks, FsAutoComplete will try to build using the wrong TargetFramework and fail. It looks like ionide/FsAutoComplete#347 ought to fix this.

@ebellani
Copy link

ebellani commented Jul 5, 2019

hey folks, is there anything missing here that I can help with? I am interested in being able to use emacs as my dev tool for f# in .net core.

@TOTBWF
Copy link
Author

TOTBWF commented Jul 5, 2019

I've put this on the back burner in favor of supportinghttps://github.com/emacs-lsp/lsp-mode, which I would highly recommend. Feel free to ask me any questions about setting it up 😀

@TOTBWF TOTBWF closed this Jul 5, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants