0
votes

I have a major project with more 3 projects

Directory Visual Studio project

both have NuGet packages as a dependency, but when executing the command

nuget restore TestesGerais.sln

it creates a "packages" folder in root with all the packages of the 3 projects

Folder package create

And when trying to Build it, it gives a reference error because its references are pointing to the internal folder of Projects 1, 2 and 3

Reference error

Is there any way to create a "packages" folder in each project?

I read the documentation of the CLI of NuGet, I came to research ways to get a list with dependencies of nuget by the CLI as well and I was not successful in my research and practices.