简体   繁体   中英

Nuget offline package install doesn't work

I am working on a pc that doesn`t have an inte.net connection. I tried to access the system.DirectoryServicies.AccountManagement nuget package, but I had to install it offline. I downloaded the 6.0.0 version and did the following link: https://social.tec.net.microsoft.com/wiki/contents/articles/25127.nuget-offline-package.aspx . It shows the package when I browse it, but when I try to install it, it says:

"Unable to load the service index for source https://api.nuget.org/v3/index.json . An error occured while sending the request. The remote name could not be resolved: 'api.nuget.org'".

Is there any to pass the service load?

You can try these method:

1.Uncheck the package source: nuget.org

在此处输入图像描述

2.Choose package source in the top right corner of the NuGet Package Manager

在此处输入图像描述

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