Plug-in ~nuget and packages management Project packages

Source: Internet
Author: User

NuGet

NuGet is a tool that has been integrated into the VS development environment and is used directly to quickly install third-party packages, which are a set of DLLs and resources that the developers package, or package, that we use to NuGet to put the packages (DLLs and resources It is convenient to install directly into the specified project, and it is easy to upgrade with NuGet when the package is updated!

Package

Each project directory has its own packages.config file, it is used to record the project depends on the package, it is an XML format file, we can look at some of the following content

Project migration, package management more convenient

When we do a project migration, your package may be missing, or your project does not replicate packages this package directory when migrating, we can then restore all packages.config packages by command on the specified item.

1 Use Nuget.exe to restore your bag

NuGet Install Packages.config

2 withNuGetPowerTools还原你的包包

pm> install-// Installation tool    PM// start package auto-Restore 
Install all packages from the new installation

Experience and feelings

Package is a thing, it appears in many programs, such as when I studied node. js, using a sails framework to develop the MVC site, when you see the packages this thing, just don't call it Packages.json, is actually a thing, Are all of course referenced and dependent packages in the project, it is through the JSON to express the structure, it uses the more popular NPM for package management, similar to NuGet, it is more convenient to restore the package, a direct command is done!

// Install all Packages

In short, with the packages this thing, let us develop more cool, so that the project is more clear!

Thank you for reading!

Plug-ins ~nuget and Packages manage project packages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.