NuGet Package Restore Not Working

后端 未结 20 2065
情书的邮戳
情书的邮戳 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:05

    vs2015 no enable nuget restore problem. My solution:

    1. add folder .nuget, add file NuGet.Config and NuGet.targets in Directory .nuget

    2. each project file add: build

      true
    
      
      
        
          This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
        
        
      
    

提交回复
热议问题