I'm working on a NuGet package that installs a bunch of content - views, scripts, CSS files - into a web application, and trying to improve the change-compile-test cycle. I have two projects - the framework itself ("Package") and the demo web app that consumes it ("Website")
What I need to do as part of the Visual Studio build process is:
- (as part of Package post-build) Nuget pack Package.nuspec -OutputDirectory ..\pkg\
- (as part of Website pre-build) Nuget uninstall Package
- (as part of Website pre-build) Nuget install package -source ..\pkg\
The problem is - there doesn't seem to be any command-line equivalent of doing Uninstall-Package
from the NuGet Package Manager console. Am I missing something?