NuGet auto package restore does not work with MSBuild

后端 未结 12 2289
粉色の甜心
粉色の甜心 2020-12-02 08:51

I\'m trying to build a solution with packages content missing (except repositories.config inside) with MSBuild 12.0. I expect it to auto restore al

12条回答
  •  情歌与酒
    2020-12-02 09:42

    There is a packages.config file with the project, it contains the package details.

    Also there is a .nuget folder which contains the NuGet.exe and NuGet.targets. if any one of the file is missing it will not restore the missing package and cause "are you missing a using directive or an assembly reference?" error

提交回复
热议问题