C:\Program Files (x86)\NuGet\Config Microsoft.VisualStudio.Offline.config 文件加上config节点设置存放路径
<?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="F:\Nuget\Package" /> </config> </configuration>
可以下载WinDirStat 分析磁盘哪些文件过大,https://windirstat.net/