Currently when I am installing Nuget Packages it is installing in a folder called "packages" which is exactly in solution directory. But I want this package to be installed under my project location.
Example:
SolutionFolder:
-->ProjectFolder
-->Project1
I want the package to be installed under "ProjectFolder" location. To do this, I followed the approach suggested in Change installation location of Nuget Package
I added nuget.config file under "SolutionFolder" as below:
<configuration>
<config>
<add key="repositoryPath" value="C:\SolutionFolder\ProjectFolder\packages"/>
</config>
</configuration>
My expectation is something below:
SolutionFolder:
-->ProjectFolder
-->packages
-->Project1
But Actual result is as below:
SolutionFolder:
-->packages
-->ProjectFolder
-->Project1
It is still creating "packages"
folder under solution root directory only.
Could some one correct me where I am doing wrong.