visual studio - Nuget package manager long file name error -
when install nuget packages long file names following error: the specified path, file name, or both long. qualified file name must less 260 characters, , directory name must less 248 characters. seems when project path long error beacause specified path long in case.
is there solution solve problem able install nuget packages long file names?
is there solution solve problem able install nuget packages long file names?
the easiest way avoid issue move source c:/ drive (or location fewer characters in path) or install long path tool.
besides, can create nuget.config , store in same location solution file:
<?xml version="1.0" encoding="utf-8"?> <configuration> <config> <add key="repositorypath" value="c:\mypackagesfolder" /> </config> </configuration> this change default packages folder configuration level put file in. can put whatever path want.
see configuring nuget behavior more information.
hope helps
Comments
Post a Comment