Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

compile project from editor #21

Open
guillermooo opened this issue May 25, 2015 · 4 comments
Open

compile project from editor #21

guillermooo opened this issue May 25, 2015 · 4 comments

Comments

@guillermooo
Copy link
Contributor

@rneatherway @rojepp

How does this work on other editors? Do they run msbuild on behalf of the user? Fake? Both? Is there a standard approach?

@rneatherway
Copy link
Contributor

There is not a standard approach. In Emacs, when an F# file is loaded it look for a project or solution file nearby or in an enclosing directory. Applying msbuild to this is offered as a default compilation command. On *nix this is just xbuild. On Windows it looks for msbuild in the usual places: https://github.com/fsharp/emacs-fsharp-mode/blob/master/fsharp-mode-util.el

@kjnilsson
Copy link

Vim works similarly.
On Mon, 25 May 2015 at 15:30, Robin Neatherway notifications@github.com
wrote:

There is not a standard approach. In Emacs, when an F# file is loaded it
look for a project or solution file nearby or in an enclosing directory.
Applying msbuild to this is offered as a default compilation command. On
*nix this is just xbuild. On Windows it looks for msbuild in the usual
places:
https://github.com/fsharp/emacs-fsharp-mode/blob/master/fsharp-mode-util.el


Reply to this email directly or view it on GitHub
#21 (comment)
.

@guillermooo
Copy link
Contributor Author

@rneatherway I believe you mentioned somewhere else that fsac would provide the path to msbuild as well. Is this in already?

@rneatherway
Copy link
Contributor

It's not in yet: ionide/FsAutoComplete#23

I just haven't had time. If anyone does, I will do the review and release. Otherwise hopefully I will get to it soon.

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

No branches or pull requests

3 participants