Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Xamarin.Android.Support.Animated.Vector.Drawable path too long #51

@mhmacleod

Description

@mhmacleod

Xamarin.Android Version (eg: 6.0):

25.1.1

Operating System & Version (eg: Mac OSX 10.11):

Windows 7

Support Libraries Version (eg: 23.3.0):

25.1.1

Describe your Issue:

Path to dll is unnecessarily long leading to error message during build: 'The "ResolveLibraryProjectImports" task failed unexpectedly...' with the exact error message being "System.IO.PathTooLongException".
Project package folder is not very deep: "C:\123\123456789012\123\1234567\123\packages", but the addition of 'Xamarin.Android.Support.Animated.Vector.Drawable' twice - first to the folder, then the name of the dll - causes the overflow

Steps to Reproduce (with link to sample solution if possible):

Just create a visual studio project in a folder of the above length referencing this nuget and attempt to build

Include any relevant Exception Stack traces, build logs, adb logs:

Error The "ResolveLibraryProjectImports" task failed unexpectedly.
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.PathHelper.GetFullPathName()...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions