Nuget restore in TFS restores packages to different directory
问题 I placed packages.config and nuget.config to my root folder. When I run nuget restore on my dev machine, packages is restored into root/packages folder as described in nuget.config. However, when I add Nuget Installer build step to my TFS2015 build definition, the packages are restored to ../Nuget/Packages, which is outside my root folder. I have a problem referencing the restored nuget packages in next build steps then. Why nuget restore behaves differently on build server? How to fix it?