第一节:修改Nuget的下载位置
进入目录: C:\Users\DELL\AppData\Roaming\NuGet,打开 NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
修改为:D:\Program Files (x86)\Nuget\packages
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<config>
<add key="globalPackagesFolder" value="D:\Program Files (x86)\Nuget\packages" />
</config>
</configuration>