NuGet auto package restore does not work with MSBuild

后端 未结 12 2286
粉色の甜心
粉色の甜心 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:29

    I had an issue with nuget packages not being included in a scripted nightly build that builds the sln file using devenv.exe.

    I followed the advice from Microsoft, and the key step was updating the NuGet config in %AppData%/NuGet so that it contained:

    
        
            
        
    
    

提交回复
热议问题