我已经修改了目标.NET框架,将其从4.0改为4.5。我收到了nuget的一条消息,需要重新安装包,所以运行了Update-Package -Reinstall -ProjectName https://localhost/SomeWebProject/
命令。当nuget执行时,它会输出黄色警告标志,看起来像这样:
Skipped reinstalling package 'NLog 3.1.0.0' in project 'SomeWebProject' because the package does not exist in the package source.
为什么我的包没有重新安装? 我进入了我的包文件夹,并验证了 NLog 3.1.0.0 是否存在!