<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="Microsoft Visual Studio Offline Packages" value="C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\"/> </packageSources> <config> <add key="globalPackagesFolder" value="E:\ProgramData\Nuget\packages" /> </config> </configuration>
原文:https://www.cnblogs.com/ms_senda/p/11408771.html