【发布时间】:2016-11-12 03:29:37
【问题描述】:
我在 Azure 免费应用服务上构建了我的私有 Nuget 存储库。 我将 url 添加到 Visual Studio 2015 中。
有一个包有1.0.3~1.0.5三个版本。
问题是只有1.0.3版本的包才能安装成功。 由于异常(路径或文件名太长),其他总是失败。
我不知道他们为什么给我显示不同的结果。
所有设置都不同。 另外我把项目文件夹放在了D:盘根目录下。
请查看日志并告诉我原因:D
Attempting to gather dependency information for package 'GEPAEntities.1.0.5' with respect to project 'TestApps\EntitiesTestConsole', targeting '.NETFramework,Version=v4.0'
Gathering dependency information took 52.53 ms
Attempting to resolve dependencies for package 'GEPAEntities.1.0.5' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'GEPAEntities.1.0.5'
Resolved actions to install package 'GEPAEntities.1.0.5'
Retrieving package 'GEPAEntities 1.0.5' from 'P-ful, Inc.'.
GET http://pfulnugetserver.azurewebsites.net/api/v2/package/gepaentities/1.0.5
OK http://pfulnugetserver.azurewebsites.net/api/v2/package/gepaentities/1.0.5 63ms
Installing GEPAEntities 1.0.5.
Error downloading 'GEPAEntities.1.0.5' from 'http://pfulnugetserver.azurewebsites.net/api/v2/package/gepaentities/1.0.5'.
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.
Install failed. Rolling back...
Package 'GEPAEntities.1.0.5' does not exist in project 'EntitiesTestConsole'
Package 'GEPAEntities.1.0.5' does not exist in folder 'D:\GEPAClient\packages'
Executing nuget actions took 803.27 ms
Error downloading 'GEPAEntities.1.0.5' from 'http://pfulnugetserver.azurewebsites.net/api/v2/package/gepaentities/1.0.5'.
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.
========== Finished ==========
Time Elapsed: 00:00:03.2133955
【问题讨论】:
标签: nuget nuget-package nuget-package-restore