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

Closed
forki opened this issue Oct 14, 2019 · 1 comment
Closed

Put dotnet.exe into PATH #2405

forki opened this issue Oct 14, 2019 · 1 comment

Comments

@forki
Copy link
Member

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")
@alfonsogarciacaro
Copy link
Contributor

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 :).

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

No branches or pull requests

2 participants