首页 > 解决方案 > Nuget packages are not updated even running Update-Package -reinstall

问题描述

I would like to remove-add updated nuget packages and executed the ff:

Update-Package
Update-Package -reinstall
Update-Package -reinstall -Project <ProjectName>
Update-Package -Project <ProjectName>

None of which satisfied. Yes, they were executed but none of my packages were updated. I have to manually remove them. I don't know if it's Microsoft's scope but these are NOT WORKING..
I'm using VS2017.

标签: c#nugetnuget-package

解决方案


在解决方案资源管理器中右键单击“ProjectSolution”,然后单击“还原 Nuget 包”

还原后,您可以更新软件包


推荐阅读