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-sdk: Get dotnet tool install working #66618

wants to merge 1 commit into
base: master


Copy link

commented Aug 14, 2019

Motivation for this change

Some dotnet packages have to be installed as tools, which does not work in the current state:

$ dotnet tool install  -g dotnetsay
Failed to create shell shim for tool 'dotnetsay': Failed to create tool shim for command 'dotnetsay': Access to the path '/home/bara/.dotnet/tools/dotnetsay' is denied.
Tool 'dotnetsay' failed to install.

There are multiple problems:

  • library path not set for apphost binary (easy, done)
  • DOTNET_ROOT defaults to /user/share/dotnet dotnet/cli#9114
    It might be possible to overwrite the string in the binary, since strings folowing it are not important, this is hacky
  • apphost must be writable, because file permissions are copied dotnet/cli#12234
Notify maintainers

(not yet for the draft)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.