标签:col 还原 rop 全局 frame pil rest ram res
默认.net core项目是将nuget包还原到全局目录中:C:\Users\Administrator\.nuget\packages\
修改*.csproj文件,加上这行代码,可将nuget包还原到本地
<RestorePackagesPath>..\packages</RestorePackagesPath>
<Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish> <RestorePackagesPath>..\packages</RestorePackagesPath> </PropertyGroup> </Project>
标签:col 还原 rop 全局 frame pil rest ram res
原文地址:https://www.cnblogs.com/xtjatswc/p/13427389.html