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

如何將自定義 nuget 提要添加到 TeamCity 構(gòu)建?

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

問題描述

我使用 Teamcity(在 Internet 的虛擬機(jī)上運(yùn)行)創(chuàng)建了一個(gè) Nuget 服務(wù)器,并創(chuàng)建了將包發(fā)布到其中的構(gòu)建.

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.

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

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 構(gòu)建中?"

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

推薦答案

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

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. 在您的本地計(jì)算機(jī)上,為您的用戶打開 Nuget.config 文件
  2. 將 TeamCity 包源的條目復(fù)制到剪貼板
  3. 在構(gòu)建代理上,為正在執(zhí)行 TeamCity 構(gòu)建的用戶打開 NuGet.config 文件
  4. 粘貼到 TeamCity 包源條目中.保存&退出.
  5. 再次運(yùn)行構(gòu)建.它現(xiàn)在應(yīng)該可以找到包了.

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

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.

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

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

相關(guān)文檔推薦

Is there a way to know if someone has bookmarked your website?(有沒有辦法知道是否有人為您的網(wǎng)站添加了書簽?)
Use of Different .Net Languages?(使用不同的 .Net 語言?)
Determining an #39;active#39; user count of an ASP.NET site(確定 ASP.NET 站點(diǎn)的“活動用戶數(shù))
Best way to keep track of current online users(跟蹤當(dāng)前在線用戶的最佳方式)
Recommend an Open Source .NET Statistics Library(推薦一個(gè)開源的.NET統(tǒng)計(jì)庫)
Create a summary description of a schedule given a list of shifts(給定輪班列表,創(chuàng)建時(shí)間表的摘要描述)
主站蜘蛛池模板: 国产福利在线视频 | 精品日韩一区 | 国产精品视频网站 | 久久国产精品一区二区三区 | 日韩伦理一区二区三区 | 亚洲精品久久久久久久久久久 | 91资源在线观看 | 国产精品久久久久久一区二区三区 | 宅女噜噜66国产精品观看免费 | www.国产精品 | 国产成人精品一区二区三区视频 | 亚洲国产精品一区二区第一页 | 国产精品乱码一区二区三区 | 精品人伦一区二区三区蜜桃网站 | 蜜桃视频一区二区三区 | 国产免费一区二区三区免费视频 | 天天躁日日躁狠狠的躁天龙影院 | 中文字幕在线免费 | 黄色在线免费观看视频网站 | 国产精品一区二区免费 | 91精品国产综合久久福利软件 | 日韩精品一区二区三区中文字幕 | 精品一二三 | 天天爽夜夜骑 | 亚洲欧美国产精品久久 | aaa精品| 国产精品久久久99 | 色网在线观看 | 久操伊人 | 欧美久久一区二区三区 | 亚洲综合在线网 | 久久亚洲国产精品 | 91美女在线观看 | 国产精品亚洲欧美日韩一区在线 | 久久宗合色| 日韩精品亚洲专区在线观看 | 亚洲综合首页 | 国产日韩一区二区三区 | 精品久久久一区 | 懂色av色香蕉一区二区蜜桃 | 国产精品欧美一区二区三区不卡 |