Should .nuget folder be added to version control?

后端 未结 7 1905
臣服心动
臣服心动 2020-12-12 16:06

With newer versions of NuGet it is possible to configure a project to automatically restore NuGet packages so that the packages folder doesn\'t need to be inclu

7条回答
  •  猫巷女王i
    2020-12-12 16:36

    You need to commit .nuget\nuget.targets, but not nuget.exe. The targets will download the exe if it doesn't exist, as long as you change DownloadNuGetExe to true in nuget.targets

提交回复
热议问题