Skip to content

Conversation

bastianeicher
Copy link
Contributor

This adds support for the environment variable NUGET_PACKAGES, which changes the location of the NuGet package cache.
Reference: https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-environment-variables

I also slightly changed the control flow in the MongoBinaryLocator constructor to ensure ensure that _nugetCacheDirectory is not null even when searchPatternOverride is specified.

Also ensure _nugetCacheDirectory is set even when searchPatternOverride is specified.
@JohannesHoppe
Copy link
Member

This looks absolutely fine, I will be releasing this in the near future along with #109. Thanks a lot for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants