This article is a mirror article of machine translation, please click here to jump to the original article.

View: 33664|Reply: 2

[Source] Nuget Domestic Source (Mirror Source)

[Copy link]
Posted on 8/2/2017 1:37:44 PM | | | |
To solve the problem of unstable access to NuGet servers in China, we have built a NuGet image with Alibaba Cloud server, which has been put into trial operation.

Here's how to use NuGet to image the source:

1) NuGet image source address: https://nuget.cnblogs.com/v3/index.json

2) Add this image source in NuGet.Config:


Note: The path of NuGet.Config in Windows is %appdata%\NuGet\NuGet.Config, and the path in Mac and Linux is ~/.nuget/NuGet/NuGet.Config, if there is no NuGet.Config file, you can run the dotnet restore command to generate.

Or add a method in Visual Studio:



Due to the current limited bandwidth, if the following problem occurs, it means that the current bandwidth is full, and you can try again later.

The download of 'https://nuget.cnblogs.com/v3-flatcontainer/system.runtime.extensions/4.3.0/system.runtime.extensions.4.3.0.nupkg' timed out because no data was received for 60000ms.

A nuget domestic source officially built by the blog park team

When using it, I feel that there is still a bit of a problem, and when installing the package, I will still go to the nuget official to download it。。。。。

At first, I thought there was a problem with VS, so I tried several times, but I still downloaded the package from the official Nuget website

Then, I saw a sentence in the comments



Due to the nuget official website, the addresses in some pages cannot be replaced, and you have to go to the nuget official website.

I hope the blog garden solves this problem as soon as possible...





Previous:.net/c# WinRing0 driver-level analog keyboard input [source code]
Next:Taobao Tmall through train batch set up 98 types of selected people
 Landlord| Posted on 7/30/2019 11:04:10 AM |
Use Tencent Cloud Nuget Package Manager to speed up downloads
https://www.itsvse.com/thread-7875-1-1.html
(Source: Architect_Programmer)
Posted on 3/7/2023 2:48:48 PM |
Support ~ Support! Come on!
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com