I cannot remove a reference installed by Nuget

Asked

Viewed 201 times

4

I installed the DLL Log4net for nuget. Since it’s in a different version of ours and a colleague gave it to me as usual, I deleted it from the folder and put the current one. When I build the Solution/project, the version that was installed by NuGet back. How do I remove and leave the old one even giving build? The option uninstall does not appear when I open the NuGet(only Install).

  • Try this on Uninstall-Package log4net

1 answer

5


Open the Package Manager Console and execute the following command:

PM> Uninstall-Package log4net

All references to log4net will be removed correctly.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.