Useing Paket version 7.2.0+bb14ab674b2748070a624f394cd6796e11aaffa8
Please provide the steps required to reproduce the problem
Clear current NuGet caches dotnet nuget locals all --clear
Move Nuget Cache to another drive, e.g. set NUGET_PACKAGESto E:\nuget in the Windows system environment variables.
Restore a solution using Paket
Build will fail, in the folder %USERPROFILE%\AppData\Local\NuGet\Cache\ projects are restored and not all files are in the corresponding subfolders, the environment variable is not respected
If possible then please create a git repository with a repro sample or attach a zip to the issue.
Description
Using nuget config it's possible to select an alternative nuget cache location with the environment variable
NUGET_PACKAGES
, see global packages at https://learn.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders.Repro steps
Useing Paket version 7.2.0+bb14ab674b2748070a624f394cd6796e11aaffa8
Please provide the steps required to reproduce the problem
Clear current NuGet caches
dotnet nuget locals all --clear
Move Nuget Cache to another drive, e.g. set
NUGET_PACKAGES
toE:\nuget
in the Windows system environment variables.Restore a solution using Paket
Build will fail, in the folder
%USERPROFILE%\AppData\Local\NuGet\Cache\
projects are restored and not all files are in the corresponding subfolders, the environment variable is not respectedIf possible then please create a git repository with a repro sample or attach a zip to the issue.
May be releated with https://github.com/fsprojects/Paket/issues/3853
Expected behavior
Please provide a description of the behavior you expect.
Actual behavior
Please provide a description of the actual behavior you observe.
Known workarounds
Don't use the environment variable :(, replace the directory
%USERPROFILE%\AppData\Local\NuGet
with a link to another drive.