Skip to content

Commit

Permalink
- WiX4: #1436: NuGet config variable "globalPackagesFolder" is ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-shilo committed Jan 25, 2024
1 parent 124e8a9 commit 1c78c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/src/WixSharp/CommonTasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2140,7 +2140,7 @@ static Dictionary<string, string> InitFromXml(this Dictionary<string, string> da
/// </summary>
public static class WixTools
{
static internal string NuGetDir => @"%userprofile%\.nuget\packages".ExpandEnvVars();
static internal string NuGetDir => Environment.GetEnvironmentVariable("NUGET_PACKAGES") ?? @"%userprofile%\.nuget\packages".ExpandEnvVars();
static internal string WixSharpToolDir => @"%userprofile%\.wix\.wixsharp".ExpandEnvVars();
static internal string WixExtensionsDir => @"%userprofile%\.wix\extensions".ExpandEnvVars();

Expand Down

0 comments on commit 1c78c01

Please sign in to comment.