ASP. NET core three NuGet package management

Source: Internet
Author: User
Tags dotnet

Reference connection: Http:// Here's the instructions, basic is to learn someone else's article, made a backup of ASP. NET core, for the project package management, do a lot of performance optimization,    If the package is referenced in the project through NuGet, but the packages file is not found in the project directory, and the build directory does not have a corresponding DLL build for the application, how does the project run and reference the NuGet package, and where are the packages? 1. For the framework package referenced by the application, Microsoft provides runtime Kanekura (runtime package store), where all applications share the runtime envelope, and we do not need to care when publishing the application, just follow the third-party package. The run-time envelope path is typically:
    • Linux:/usr/local/share/dotnet/store
    • Windows:c:/program Files/dotnet/store

2. Third-party packages are not downloaded from each app, but are stored uniformly under a single file: They are only deployed with the app when they are published. 3. The meta-Package is a NUGET package contract that describes a set of meaning-related packages. The development team uses dependencies to describe this set of packages. They use this set of packages to describe a framework and then selectively publish it. Using ASP. NET Core 2 requires only one NuGet meta-package--microsoft.aspnetcore.all, eliminating the need to add packages, and automatically excluding unused packages when publishing.

ASP. NET core three NuGet package management

Related Article

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: 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.