WiX v4 not honoring NUGET_PACKAGES environment variable #7740
Labels
extensions
up for grabs
No one volunteered to fix the issue. If you are interested, comment with "I want to fix this issue"
Bugs
If this issue is a bug:
WiX 4.0.2
Visual Studio 2022 17.7.4
Heat for VS2022
4.8
n/a
If you have NuGet configured to use an alternate folder for the global packages cache, via the NUGET_PACKAGES environment variable and the NuGet.config file, Wix will not find the Wix NuGet extension packages.
For example, I have set the environment variable as: NUGET_PACKAGES=C:\Packages
My NuGet.config file:
WiX should honor the NUGET_PACKAGES folder and look there.
The GetCacheLocations() function in ExtensionManager.cs should be updated to include the NUGET_PACKAGES environment variable folder in the list of location to look for NuGet extension packages.
The text was updated successfully, but these errors were encountered: