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

DOTNET_ROOT for Global Tools #11

Closed
clairernovotny opened this issue Aug 8, 2019 · 2 comments · Fixed by #12
Closed

DOTNET_ROOT for Global Tools #11

clairernovotny opened this issue Aug 8, 2019 · 2 comments · Fixed by #12
Assignees

Comments

@clairernovotny
Copy link

The DOTNET_ROOT environment variable needs to be set so that .NET Core global tools find the right locations:
https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/DotNetCoreInstallerV1/dotnetcoreinstaller.ts

@clairernovotny clairernovotny changed the title DOTNET_ROOT DOTNET_ROOT for Global Tools Aug 8, 2019
@damccorm
Copy link
Contributor

damccorm commented Aug 8, 2019

Huh, could've sworn we already did this. I'll add a PR.

@damccorm damccorm mentioned this issue Aug 8, 2019
@damccorm damccorm self-assigned this Aug 12, 2019
@rojepp
Copy link
Contributor

rojepp commented Sep 11, 2019

I'm pretty sure I'm doing something wrong, but this is still an issue for me. I made a minimal repo here to reproduce: https://github.com/rojepp/dotnetsay.

Am I mistaken in thinking a proper DOTNET_ROOT should solve this issue?
I'm getting the following error when running a dotnet tool.

A fatal error occurred, the required library libhostfxr.so could not be found.

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 a pull request may close this issue.

3 participants