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"?>
<add key="repositoryPath" value="Lib" />

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 ?