简体   繁体   中英

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"

NOTE in Local Visual studio it will be accessible when we are in VPN

If you are using private nuget server. You will need to create self-hosted agent on your local machines that have access to the private nuget server. And select your private agent pool to run your Azure pipeline on the self hosted agents.

For your private nuget server is unavailable to the cloud hosted agents. If you run your pipeline on the cloud hosted agents, the nuget restore step in your pipeline will fail to find your 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM