-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Change default .nuget/package folder .NET Core #6716
Comments
I think the NUGET_PACKAGES environment variable might be what you're after. |
Thanks it really works. but I have one more issue dotnet create two folders .nuget/Nuget and .dotnet. How to prevent to create this folder? |
I don't know about the |
I tried to use dotnet cli without installation(just launch from the path in a script) . But cli creates two folders:
I think it will cause an error because of it may add issues to simultaneous builds on CI. |
@SerhiiS-in6k are you installing using the |
Since there was no action here for a while now, I will close this issue. If the problem still repros, please reopen. |
Text from documentation:
If not specified, the default NuGet package cache is used. It is found in the .nuget/packages directory in the user's home directory on all operating systems (for example, /home/user1 on Linux or C:\Users\user1 on Windows).
Can I change .nuget/packages location?
The text was updated successfully, but these errors were encountered: