Im using Azure Devops pipeline for build and release.
I have 1 solution with multiple projects in it, during the build process on the nuget package restore step i would like it to only restore packages for the project i deploy to
lets say i have a solution named Main.sln
i have 2 projects in it named project1.csproj and project2.csproj
the release goes well but it takes quite a while because the NuGet restore step takes every package from the Main.sln instead of per project.
I would like it to only Restore for a specific packages.config that i command it to go to in the nuget restore settings (/project1/packages.config)
i get the following error:
Cannot determine the packages folder to restore NuGet packages. Please specify either -PackagesDirectory or -SolutionDirectory
-PackagesDirectory
? – David C