NuGet/Home

nuget restore exceeding MAXPATH

nerumo opened this issue · 1 comments

I use Jenkins as build server and I want to use the multi branch pipeline. This enforces Jenkins to create a unique folder name that has a random component. The finally generated path gets quite long. If I then start a package restore, the restore fails because of the MAXPATH limitation.
Since .Net 4.6.2 it's possible to use long paths, but nuget is actively preventing it. Two things that should be changed:

Duplicate of #3324