NuGet 更换为国内镜像源(华为云)

使用前请确保您已安装DotNetNuGet


Nuget的配置文件为用户根目录下的:C:\Users\<UserName>\AppData\Roaming\NuGet\NuGet.Config


打开终端执行如下命令:

nuget sources Disable -Name "nuget.org"
nuget sources add -Name "huaweicloud" -Source "https://repo.huaweicloud.com/repository/nuget/v3/index.json"



  • © 2018-2024 hwyblog.njboshi.net 版权所有