-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with long paths from Nuget.core codebase #1361
Comments
Thanks for logging this - Added an issue at chocolatey/nuget-chocolatey#15 to reference and will update this issue when that closes. Thanks! |
Sorry, wrong button :/ |
Also running across the same problem. I've packaged up the Visual Studio 2017 compiler toolchain into an offline install choco package, but can't get it to actually extract / start the install unless I specify a shorter temp directory..
|
Will this be solved? I've the same issue. |
This should have been fixed in Chocolatey v2.0.0, as newer NuGet versions directly use I'm not seeing a reproduction for this issue, so I'm not sure exactly how to test this to confirm that it is definitely fixed. |
What You Are Seeing?
Long file paths error out due to Nuget.core codebase
What is Expected?
installation of an application with file paths longer than 260 characters
How Did You Get This To Happen? (Steps to Reproduce)
tried installing an application with file paths longer than 260 characters (BMC)
Output Log
Chocolatey v0.10.7
Installing the following packages:
bmc
By installing you accept licenses for the packages.
Progress: Downloading bmc 9.0... 100%
bmc not installed. An error occurred during installation:
The specified path, file name, or both are too long. The fully qualified file n
ame must be less than 260 characters, and the directory name must be less than 2
48 characters.
bmc package files install completed. Performing other installation steps.
The install of bmc was NOT successful.
bmc not installed. An error occurred during installation:
The specified path, file name, or both are too long. The fully qualified file n
ame must be less than 260 characters, and the directory name must be less than 2
48 characters.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
bmc (exited 1) - bmc not installed. An error occurred during installation:
The specified path, file name, or both are too long. The fully qualified file n
ame must be less than 260 characters, and the directory name must be less than 2
48 characters.
relates to issue 934: #934
The text was updated successfully, but these errors were encountered: