I need to remove a reference from several projects in Visual Studio each time when I re/install/update a particular NuGet package that I cannot currently modify.
Is it possible to automate this process with PowerShell
or a command?
It would also do if I just could execute it for each project by pasting it in the Package Manager Console
instead of opening each one and deleting it manually.
Actually I need a similar functionality as the Uninstall-Package
command but for a single reference. I had no luck looking for the source code of this command.