Reputation: 1047
Is it possible to configure the DNX packages folder for each project or solution? Or is fix the user directory? I wanna try to have all required packages in my solution/project folder even though I have redundancies.
Upvotes: 3
Views: 623
Reputation: 28425
Yes, it is possible but it's not straightforward.
DNX_PACKAGES
environment variable.NUGET_PACKAGES
environment variable.If you want this configuration to be per project, then you must not set those variables globally but rather at process level. So, start a new console, set the environment variable and then launch VS/dnx/dotnet from it. That way, any child process will inherit the variable, while everything outside will not be affected.
Upvotes: 3