Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDotnet restore uses global temporary directory #2806
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Inumedia
May 2, 2016
As a note, attempting to run dotnet restore with the packages argument still tries to lock the global tmp folder:
dotnet restore --packages ~/.NuGet :
log : Restoring packages for /home/.../builds/aec560d5/0/.../.../project.json...
error: Access to the path '/tmp/NuGetScratch/lock' is denied.
Inumedia
commented
May 2, 2016
|
As a note, attempting to run
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
brthor
May 2, 2016
Contributor
Please move this over to https://github.com/nuget/home as we do not control this behavior in the cli.
dotnet restore simply uses nuget.
|
Please move this over to https://github.com/nuget/home as we do not control this behavior in the cli. dotnet restore simply uses nuget. |
Inumedia commentedMay 2, 2016
•
edited
Steps to reproduce
dotnet restoredotnet restoreExpected behavior
dotnet restoreshould work as expected and my project's dependencies should be restored.Actual behavior
dotnet restoreattempts to re-use the /tmp/NuGetScratch/lock causing a permissions error and failing out.Environment data
dotnet --infooutput:(Attempting to run
dotnet --infoyields no helpful information, I randotnet --version)dotnet --version:.NET Command Line Tools (1.0.0-beta-001598)
Product Information:
Version: 1.0.0-beta-001598
Commit Sha: N/A
Runtime Environment:
OS Name: ubuntu
OS Version: 14.04
OS Platform: Linux
Runtime Id: ubuntu.14.04-x64