zoukankan      html  css  js  c++  java
  • How to add the custom nuget feed to TeamCity build?

    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.

    https://stackoverflow.com/questions/14548324/how-to-add-the-custom-nuget-feed-to-teamcity-build

    1. On your local machine, open the Nuget.config file for your user
    2. Copy the entry for the TeamCity package source to the clipboard
    3. On the build agent, open the NuGet.config file for the user that's executing your TeamCity builds
    4. Paste in the TeamCity package source entry. Save & quit.
    5. Run the build again. It should now be able to find the package.

    EDIT: 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.

  • 相关阅读:
    TCP11种状态
    多客户连接僵尸进程的处理
    gethostname(获取主机名)、gethostbyname(由主机名获取IP地址)
    点对点通信实例
    XCTF simple js
    XCTF WEB backup
    bugku SKCTF管理系统
    php漏洞 sha1函数
    bugku--速度要快
    bugku秋名山车神
  • 原文地址:https://www.cnblogs.com/chinasoft/p/14926892.html
Copyright © 2011-2022 走看看