Adding nuget packages for a webapi project

Tuesday, July 8, 2014

I am trying to change the default location of nuget packages


I have a nuget.config file in the same location as the solution file.


Its contents are



<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositoryPath" value="Lib" />
</config>
</configuration>


But the problem is still when I go to Manage Nuget Packages and click Restore, the libraries go to packages folder but not to lib folder.


This only happens to the WebAPI project file but not to any other projects in the same solution.


Any ideas why ?


Should any thing be changed to the web.config files ?







http://ift.tt/1qQJrWr