I have a project (I am the package creator) that has several builds that each depend on MVC (Microsoft.AspNet.Mvc, Microsoft.AspNet.Razor, and Microsoft.AspNet.WebPages). When my package is installed into a brand new MVC project, everything works as expected.
However, when the package is uninstalled, it destroys the project because MVC is inadvertently uninstalled (because it is a dependency), along with all of the dependencies it has. When I try to reinstall those packages, it seems there is no way to get the versions right because (since there is no NuGet log) I have no idea what versions it uninstalled.
My package DOES DEPEND on these libraries being in place, that is, those libraries are referenced directly from my DLL. But I don't want my NuGet package to uninstall them.
Is there a way?