I tried putting Nuget.config file in solution directory as below but that didn't work
<?xml version="1.0" encoding="utf-8"?>
<add key="repositoryPath" value="..\..\Libraries\Packages" />
Then i found in our solution MSBuild-Integrated package restore approach is enabled for the solution. As per Nuget's documentation
"if NuGet recognizes that the MSBuild-Integrated package restore approach is enabled for the solution, automatic package restore is skipped. MSBuild-Integrated package restore is identified by checking the existence of the .nuget\NuGet.targets file
at the solution root."
So which value i need to change in Nuget.targets file so that the package will get downloaded when we want.