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

Put dotnet.exe into PATH #2405

forki opened this issue Oct 14, 2019 · 1 comment

Put dotnet.exe into PATH #2405

forki opened this issue Oct 14, 2019 · 1 comment


Copy link

@forki forki commented Oct 14, 2019

It would be nice to have a simple way to put the dotnet path into PATH since tools like fable are calling into dotnet and need the correct version. /cc @alfonsogarciacaro

let dotnetTool = (install.Value (DotNet.Options.Create())).DotNetCliPath
let dotnetFolder = FileInfo(dotnetTool).Directory.FullName
Environment.setEnvironVar "PATH" (dotnetFolder + ";" + Environment.environVar "PATH")

This comment has been minimized.

Copy link

@alfonsogarciacaro alfonsogarciacaro commented Oct 14, 2019

Yes, Fable is still relying on dotnet being globally accessible. Also remember we had trouble before with Windows and Unix systems (Windows uses ; as PATH separator, while Unix uses :).

@matthid matthid closed this in ccb2fe2 Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.