私人 NuGet 画廊未发布

发布于 2024-11-24 08:02:29 字数 644 浏览 4 评论 0原文

我已经按照 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妖妓 2024-12-01 08:02:29

您推送到了错误的网址。您不推送到 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文