How can I clone the .NET Runtime repo without encountering maximum path length restrictions? #113573
-
I'm encountering the following issue when trying to clone the .NET repo This file in particular is causing the issue: https://github.com/dotnet/runtime/blob/main/src/tools/illink/test/ILLink.RoslynAnalyzer.Tests/generated/ILLink.RoslynAnalyzer.Tests.Generator/ILLink.RoslynAnalyzer.Tests.TestCaseGenerator/Inheritance.Interfaces.OnReferenceType.BaseProvidesInterfaceMemberTests.g.cs I've set Windows to allow larger paths in the Registry, but still encounter this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You need to ensure your git client supporting long path. Third party client may not support it correctly. |
Beta Was this translation helpful? Give feedback.
-
The other way around this is to install docker and clone into a volume via vscode to use the devcontainer, which would do everything in Linux and just sidestep the issue. |
Beta Was this translation helpful? Give feedback.
You need to ensure your git client supporting long path. Third party client may not support it correctly.