Created
August 11, 2017 07:53
-
-
Save bjorkstromm/e161921b3d47d0092300378abeff8f34 to your computer and use it in GitHub Desktop.
Long path issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\mb\src\gh\bakery\tools\JetBrains.ReSharper.CommandLineTools.2017.1.20170428.83814\JetBrains.ReSharper.CommandLineTools\tools\ExternalAnnotations\WinRT\Windows.Foundation.UniversalApiContract\Windows.Foundation.UniversalApiContract.Nullness.Generated.xml'. | |
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) | |
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) | |
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) | |
at System.IO.File.Create(String path) | |
at NuGet.Packaging.StreamExtensions.CopyToFile(Stream inputStream, String fileFullPath) in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageExtraction\StreamExtensions.cs:line 30 | |
at NuGet.Packaging.PackageFileExtractor.ExtractPackageFile(String source, String target, Stream stream) in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageFileExtractor.cs:line 128 | |
at NuGet.Packaging.PackageArchiveReader.CopyFiles(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken token) in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageArchiveReader.cs:line 167 | |
at NuGet.Packaging.PackageReaderBase.CopyFilesAsync(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken cancellationToken) in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageReaderBase.cs:line 173 | |
at NuGet.Packaging.PackageExtractor.<ExtractPackageAsync>d__1.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageExtractor.cs:line 148 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() | |
at NuGet.ProjectManagement.FolderNuGetProject.<>c__DisplayClass11_0.<<InstallPackageAsync>b__0>d.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\Projects\FolderNuGetProject.cs:line 169 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() | |
at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__2`1.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Common\ConcurrencyUtilities.cs:line 79 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteInstallAsync>d__82.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2869 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__73.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2139 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__73.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2180 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__73.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2277 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() | |
at NuGet.PackageManagement.NuGetPackageManager.<InstallPackageAsync>d__48.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 431 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() | |
at NuGet.CommandLine.InstallCommand.<InstallPackage>d__36.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Clients\NuGet.CommandLine\Commands\InstallCommand.cs:line 328 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. | |
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) | |
at System.IO.Path.InternalGetDirectoryName(String path) | |
at NuGet.Packaging.PackageFileExtractor.ExtractPackageFile(String source, String target, Stream stream) in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageFileExtractor.cs:line 99 | |
at NuGet.Packaging.PackageArchiveReader.CopyFiles(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken token) in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageArchiveReader.cs:line 167 | |
at NuGet.Packaging.PackageReaderBase.CopyFilesAsync(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken cancellationToken) in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageReaderBase.cs:line 173 | |
at NuGet.Packaging.PackageExtractor.<ExtractPackageAsync>d__1.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Packaging\PackageExtractor.cs:line 148 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() | |
at NuGet.ProjectManagement.FolderNuGetProject.<>c__DisplayClass11_0.<<InstallPackageAsync>b__0>d.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\Projects\FolderNuGetProject.cs:line 169 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() | |
at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__2`1.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.Common\ConcurrencyUtilities.cs:line 79 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteInstallAsync>d__82.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2869 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__73.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2139 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__73.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2180 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__73.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 2277 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() | |
at NuGet.PackageManagement.NuGetPackageManager.<InstallPackageAsync>d__48.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Core\NuGet.PackageManagement\NuGetPackageManager.cs:line 431 | |
--- End of stack trace from previous location where exception was thrown --- | |
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() | |
at NuGet.CommandLine.InstallCommand.<InstallPackage>d__36.MoveNext() in C:\Users\mb\src\gh\NuGet.Client\src\NuGet.Clients\NuGet.CommandLine\Commands\InstallCommand.cs:line 328 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment