修改NUGET包默认存放位置
%AppData%\Roaming\NuGet\NuGet.Config
添加globalPackagesFolder
<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> <add key="forms3.0的版本" value="https://www.myget.org/F/xamarinforms-dev/api/v3/index.json" /> <add key="Microsoft Visual Studio Offline Packages" value="C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\" /> </packageSources> <config> <add key="globalPackagesFolder" value="E:\.nuget\packages" /> </config> </configuration>
一份耕耘,一份收获,付出就有回报永不遭遇过失败,因我所碰到的都是暂时的挫折