问题描述
我们有一个为 nuget 配置的 TeamCity 7 服务器.它托管在没有外部连接的机器上.是否可以将包发布到 TeamCity nuget 服务器?例如,如果我们想向我们的项目之一添加 log4net 包依赖项,则需要将其发布到 TeamCity 服务器,因为 nuget.org 无法访问.到目前为止,我已经尝试发布到 http://teamcity:port/guestauth/app/nuget/v1/FeedService.svc 但到目前为止运气不佳.
We have a TeamCity 7 server configured for nuget. It's hosted on a machine with no external connectivity. Is it possible to publish packages to the TeamCity nuget server?For example, if we want to add a log4net package dependency to one of our projects, it needs to be published to the TeamCity server, as nuget.org is unreachable.So far, I've tried publishing to variations on http://teamcity:port/guestauth/app/nuget/v1/FeedService.svc but no luck so far.
谢谢,安迪
推荐答案
解决方法是创建一个构建配置,将这些包作为工件发布."
"The workaround is to create a build configuration that publishes those packages as artifacts."
http://blogs.jetbrains.com/teamcity/2011/12/01/setting-up-teamcity-as-a-native-nuget-server/
这篇关于如何将包发布到 TeamCity nuget 服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!