I am using Team City to build a ASP.NET Core (target .NET) project. Dependency packages are deployed to the build server along with the project following this folder structure:
- Packages
- SolutionName
- src
- myproj.xproj
- src
I have a nuget.config file with <add key="globalPackagesFolder" value="..\..\packages"/>
This corectly restores packages in VS and references seem to hold on build. However, on the build server, dotnet build doesn't find the dependencies.
Error NU1001: The dependency ... could not be resolved
Is there any way to specify the relative path of dependencies for dotnet build?