![]() PMC can also be useful to reinstall a package using the -reinstall flag.PMC is useful if you wish to manage the dependencies manually without using NuGet, for example to install a package without dependencies use the flag -IgnoreDependencies.NuGet will always install the latest version of a package however, using PMC you can specify the version number of the package to install.The PMC scripts can be part of the Visual Studio solution itself so that any new team member can simply run those scripts when setting up the solution.Using PMC, you can automate the addition of packages into your solution instead of each team member going to the NuGet UI to add packages.So, why should you bother to use PMC given that you have a nice UI for the NuGet system integrated in Visual Studio? The following are the benefits of using PMC over the NuGet UI: The following is a screen shot for the console:īenefits of using Package Manager Console (PMC) You can access the Package Manager Console from within Visual Studio by going to Tools -> Library Package Manager -> Package Manager Console. The Package Manager Console is a PowerShell console within Visual Studio used to interact with NuGet and automate Visual Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |