[英]Access Nuget Packages hosted in private Nuget Server in Azure Pipelines
We have few nuget packages pushed to Private nuget packages, trying to setup Azure Pipelines however during the build it says error NU1101: Unable to find package while running step "nuget store" We have few nuget packages pushed to Private nuget packages, trying to setup Azure Pipelines however during the build it says error NU1101: Unable to find package while running step "nuget store"
NOTE in Local Visual studio it will be accessible when we are in VPN注意在本地 Visual Studio 中,当我们在 VPN 中时可以访问它
If you are using private nuget server.如果您使用的是私有 nuget 服务器。 You will need to create self-hosted agent on your local machines that have access to the private nuget server.您需要在可以访问私有 nuget 服务器的本地计算机上创建自托管代理。 And select your private agent pool to run your Azure pipeline on the self hosted agents. select 您的私有代理池在自托管代理上运行您的 Azure 管道。
For your private nuget server is unavailable to the cloud hosted agents.对于云托管代理,您的私有 nuget 服务器不可用。 If you run your pipeline on the cloud hosted agents, the nuget restore step in your pipeline will fail to find your package.如果您在云托管代理上运行管道,则管道中的 nuget 恢复步骤将无法找到您的 package。
If you are working behind a proxy.如果您在代理后面工作。 Please check below document to configure the proxy settings for the self-hosted agents.请查看以下文档以配置自托管代理的代理设置。
Run a self-hosted agent behind a web proxy 在 web 代理后面运行自托管代理
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.