Using power shell to update existing .csproj files to use nuget packages.

Topics: General
Jan 22, 2013 at 6:59 PM

I have a solutions with large number of projects. I would like to automate the process of updating these projects to use nuget packages instead.

Is there a script to Query NuGet repository for the packages containing particular dll version?

When installing a NuGet package through Package Manager Console using "Install-Package" I see that references are added for all the dlls in the project. I would like to avoid doing this and instead only update references that already existed in .csproj

Any recommendations?


Jan 22, 2013 at 9:28 PM

Unfortunately, there's no such script to do what you want. We did discuss about writing a similar tool but didn't get around doing it.