global nuget directory

create nuget.config file

<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<config>
<add key=”repositoryPath” value=”C:\Nuget Packages” />
</config>
</configuration>

copy this file to Solution Directory

open notepad++ and find and replace text below

find – ..\packages

replace with – C:\Nuget Packages

filters – *.csproj

click find and replace button

it will replace references .

create folder C:\Nuget Packages

Done!

Build solution all nuget will be going inside c:\Nuget Packages for all solutions.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s