-
Notifications
You must be signed in to change notification settings - Fork 269
Closed
NuGet/NuGet.Client
#4830Closed
Copy link
Labels
Area:RestoreStaticGraphIssues related to the Static Graph restoreIssues related to the Static Graph restoreFunctionality:RestorePriority:1High priority issues that must be resolved in the current sprint.High priority issues that must be resolved in the current sprint.Type:Bug
Milestone
Description
NuGet Product Used
dotnet.exe, MSBuild.exe
Product Version
all versions since static restore added
Worked before?
No response
Impact
It's more difficult to complete my work
Repro Steps & Context
Use the NUGET_PACKAGES environment variable, or globalPackagesFolder config in a nuget.config file to set the GPF to a path of around 200 characters long. Then, restore a project with msbuild -t:restore -p:RestoreUseStaticGraphEvaluation=true from a Developer PowerShell. Make sure the registry/group policy setting for long paths is enabled, and this restore will fail. But if you remove -p:RestoreUseStaticGraphEvaluation=true from the arguments, it will work.
Verbose Logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area:RestoreStaticGraphIssues related to the Static Graph restoreIssues related to the Static Graph restoreFunctionality:RestorePriority:1High priority issues that must be resolved in the current sprint.High priority issues that must be resolved in the current sprint.Type:Bug
Type
Fields
Give feedbackNo fields configured for issues without a type.