私人 NuGet 画廊未发布
我已经按照 http://docs.nuget.org/docs/contribute/setting-up-a-local-gallery。然而,当我将包推送到服务器时,即使 nuget.exe 报告没有错误,它似乎也无法识别
NuGet.exe push -source http://myserver/NuGet-services/FeedService.svc/ publish\mypackage.0.1.nupkg
Pushing MyPackage 0.1 to 'http://myserver/NuGet-services/FeedService.svc/'...
Pushing: 100%
它 API 密钥设置为我的用户在其个人资料页面上列出的内容。我已将服务中的日志记录设置为“调试”,但日志中根本没有打印任何内容。我已检查该服务是否能够写入其数据目录和数据库。数据库中的包表为空,包看起来应该发布到的目录 (App_Data/Packages) 也是空的。如果有人有关于在这件事上附加调试器的建议,我将对您的帮助最感兴趣。
I have set up a NuGet Gallery for use inside my company as per the lengthy instructions at http://docs.nuget.org/docs/contribute/setting-up-a-local-gallery. However I when I push a package to the server it doesn't seem to recognize it even though nuget.exe reports no errors
NuGet.exe push -source http://myserver/NuGet-services/FeedService.svc/ publish\mypackage.0.1.nupkg
Pushing MyPackage 0.1 to 'http://myserver/NuGet-services/FeedService.svc/'...
Pushing: 100%
The API key is set to what my user has listed on its profile page. I have turned up the logging in the service to DEBUG but nothing at all is printed to the log. I have checked that the service has the ability to write to its data directory and to the database. The packages table in the database is empty as is the directory to which the packages look like they should be published (App_Data/Packages). If anybody has a suggestion short of attaching a debugger to this thing I would be most interested in your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您推送到了错误的网址。您不推送到 feedservice.svc。源应该是根(因此 http://myserver/NuGet-services/ 在您的情况下)。
You're pushing to the wrong url. You don't push to the feedservice.svc. The source should be the root (so http://myserver/NuGet-services/ in your case).