NuGet has problems with missing packages, how to restore?

前端 未结 5 1642
长情又很酷
长情又很酷 2021-02-05 04:52

When I try to compile my program I get the following error:

This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Res         


        
5条回答
  •  渐次进展
    2021-02-05 05:24

    Honestly, whoever developed the NuGet command for VS needs to go back to the drawing board. They totaly missed the fact that sometimes these DLL(s) and/or files get corrupt or deleted. a "NuGet Get-Packages -Force" option would really save their bacon. The only GAP I see is that VS and the Package console does not allow you to invoke a forced download from NuGet. Even clearing the cache via VS is useless.

提交回复
热议问题