NuGet Package Restore Not Working

后端 未结 20 2054
情书的邮戳
情书的邮戳 2020-12-02 04:06

I checked in a project on one computer, checked out on another, and find that the binaries installed by NuGet are missing. I could check them in to source control as well,

20条回答
  •  一生所求
    2020-12-02 05:04

    For others who stumble onto this post, read this.

    NuGet 2.7+ introduced us to Automatic Package Restore. This is considered to be a much better approach for most applications as it does not tamper with the MSBuild process. Less headaches.

    Some links to get you started:

    • The right way to restore NuGet packages
    • Migrate away from MSBuild-based NuGet package restore
    • Migrating MSBuild-Integrated solutions to use Automatic Package Restore

提交回复
热议问题