Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Is there a nuget.exe command-line equivalent of Uninstall-Package?

$
0
0

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:

  1. (as part of Package post-build) Nuget pack Package.nuspec -OutputDirectory ..\pkg\
  2. (as part of Website pre-build) Nuget uninstall Package
  3. (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?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>