nuget cheat sheet

nuget cheat sheet

You are looking at revision 9 of this page, which may be out of date. View the latest version.  

I'm constantly forgetting these simple commands as its not everyday you use the package manager console. Also, they arent the most obvious commands, especially the first two.

List packages you have installed

Get-Package

List available packages containing the word foo

Get-Package -ListAvailable foo

Install package:

Install-Package foo

Uninstall or remove a package

Uninstall-Package foo -RemoveDependencies
Uninstall-Package Newtonsoft.Json -Version 6.0.4

Help

Get-Help Uninstall-Package

Add other commonly used ones in the comments section and I will update the list.

Switch Your Loan Tailored Switch Your Loan Main Landing

Posted by: Wallace Turner
Last revised: 29 Mar, 2016 01:22 AM History
You are looking at revision 9 of this page, which may be out of date. View the latest version.

Comments

No comments yet. Be the first!

No new comments are allowed on this post.