In my current project we have several independent libraries that are used by +20 different systems.
Recently we decided to start managing our libraries using NuGet... we already published all libraries as nuget packages in an internal NuGet server and now we will start migrating our +20 apps to use these libs as nuget packages instead of local project references.
Is there an easy/automated way to make these changes?
To manage your package sources, select the Settings icon or select Tools > Options. In the Options window, expand the NuGet Package Manager node and select Package Sources. To add a source, select +, edit the Name, enter the URL or path in Source, and then select Update.
Run the Install-Package
command for your packages on your projects and the references will be updated to the nuget packages directory (or whatever you configured it to be).
If your packages do more than simply adding a simple reference (e.g. the ASP.NET MVC package modifies the Web.config file) you'll have some undo to do, but it's generally a relatively painless way of updating .csproj references.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With