久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何將自定義 nuget 提要添加到 TeamCity 構建?

How to add the custom nuget feed to TeamCity build?(如何將自定義 nuget 提要添加到 TeamCity 構建?)
本文介紹了如何將自定義 nuget 提要添加到 TeamCity 構建?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我使用 Teamcity(在 Internet 的虛擬機上運行)創建了一個 Nuget 服務器,并創建了將包發布到其中的構建.

I have created a Nuget Server using Teamcity (running on a virtual machine in internet) and created the build that publishes a package into it.

我還有另一個項目需要使用該包.這個項目也是建立在 teamcity 之上的.在我本地的 Visual Studio 上,我添加了 nuget feed uri,安裝了包,一切正常.但是當我嘗試在 teamcity 上構建它時,它說找不到包".

I also have another project that needs to use that package. This project is built on teamcity as well. On my local Visual Studio I added the nuget feed uri, installed the package and everything works fine. But when I try to build it on teamcity it says that "Package not found".

所以我的問題是:如何將自定義 nuget 提要添加到 TeamCity 構建中?"

So my question is : "How to add the custom nuget feed to TeamCity build?"

推薦答案

NuGet 包源是通過 Visual Studio 配置的,但它們存儲在每個用戶的配置文件中,位于 c:Users$USERAppDataRoamingNuGetNuGet.config.TeamCity 包源的條目需要添加到運行構建的構建代理用戶的配置文件中.

The NuGet package sources are configured through Visual Studio, but they're stored in a per-user configuration file, found at c:Users$USERAppDataRoamingNuGetNuGet.config. The entry for the TeamCity package source needs to be added to the config file of the build agent user that's running your builds.

  1. 在您的本地計算機上,為您的用戶打開 Nuget.config 文件
  2. 將 TeamCity 包源的條目復制到剪貼板
  3. 在構建代理上,為正在執行 TeamCity 構建的用戶打開 NuGet.config 文件
  4. 粘貼到 TeamCity 包源條目中.保存&退出.
  5. 再次運行構建.它現在應該可以找到包了.

ladenedge 記錄了我最初回答這個問題時不存在的一個很好的解決方案.如果您沒有構建代理的管理員訪問權限或想要基于每個項目配置包源,則該解決方案特別有用.

ladenedge documents a good solution that didn't exist when I originally answered this question. The solution is especially useful if you don't have admin access to the build agent or want to configure package sources on a per-project basis.

這篇關于如何將自定義 nuget 提要添加到 TeamCity 構建?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Is there a way to know if someone has bookmarked your website?(有沒有辦法知道是否有人為您的網站添加了書簽?)
Use of Different .Net Languages?(使用不同的 .Net 語言?)
Determining an #39;active#39; user count of an ASP.NET site(確定 ASP.NET 站點的“活動用戶數)
Best way to keep track of current online users(跟蹤當前在線用戶的最佳方式)
Recommend an Open Source .NET Statistics Library(推薦一個開源的.NET統計庫)
Create a summary description of a schedule given a list of shifts(給定輪班列表,創建時間表的摘要描述)
主站蜘蛛池模板: 一区二区三区av | 国产不卡视频 | 蜜桃91丨九色丨蝌蚪91桃色 | 一级片免费在线观看 | 99精品欧美一区二区蜜桃免费 | 丁香婷婷六月天 | 日本免费在线 | 欧美视频久久 | 视频在线一区二区 | 国产免费一级片 | 欧美做爰xxxⅹ性欧美大片 | 一级免费黄色片 | 久久精品国产免费 | 在线91 | 国产在线日韩 | 91爱看| 日韩免费精品 | 可以看av的网站 | 国 产 黄 色 大 片 | 久久精品在线播放 | 亚洲国产精品va在线看黑人 | 久久精品国产一区 | 天天综合天天 | 国产美女在线播放 | 日韩成人精品一区二区 | 成人欧美一区二区三区白人 | 国产三级黄色片 | 91丨九色丨国产在线 | 成人黄色录像 | 视频一二区 | 四虎成人av | 成人在线视频免费 | 久久精品一区二区三区四区 | 91看片看淫黄大片 | 国产精品入口66mio男同 | 中文字幕在线播放视频 | 99re在线观看视频 | 超碰人人射 | 国产一区中文字幕 | 好色网站| 精品黄色|