How to add the custom nuget feed to TeamCity build?
Posted China soft
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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\\$USER\\AppData\\Roaming\\NuGet\\NuGet.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
- On your local machine, open the Nuget.config file for your user
- Copy the entry for the TeamCity package source to the clipboard
- On the build agent, open the NuGet.config file for the user that\'s executing your TeamCity builds
- Paste in the TeamCity package source entry. Save & quit.
- 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.
以上是关于How to add the custom nuget feed to TeamCity build?的主要内容,如果未能解决你的问题,请参考以下文章
How to use the Custom Material node and create Metaballs 官方视频学习笔记
How To Configure VMware fencing using fence_vmware_soap in RHEL High Availability Add On(RHEL Pacema
How to:Customize Action Controls 如何:自定义按钮控件
How to include custom library into maven local repository?--转