36 lines
2.0 KiB
Markdown
36 lines
2.0 KiB
Markdown
---
|
|
title: Microsoft.AspNetCore.All metapackage for ASP.NET Core 2.x and later
|
|
author: Rick-Anderson
|
|
description: Microsoft.AspNetCore.All metapackage includes all supported packages.
|
|
keywords: ASP.NET Core, NuGet, package, Microsoft.AspNetCore.All, metapackage
|
|
ms.author: riande
|
|
manager: wpickett
|
|
ms.date: 07/16/2017
|
|
ms.topic: article
|
|
ms.technology: aspnet
|
|
ms.prod: asp.net-core
|
|
uid: fundamentals/metapackage
|
|
---
|
|
|
|
#Microsoft.AspNetCore.All metapackage for ASP.NET Core 2.x
|
|
|
|
This feature requires ASP.NET Core 2.x.
|
|
|
|
The [Microsoft.AspNetCore.All](https://www.nuget.org/packages/Microsoft.AspNetCore.All) metapackage for ASP.NET Core includes:
|
|
|
|
* All supported packages by the ASP.NET Core team.
|
|
* All supported packages by the Entity Framework Core.
|
|
* Internal and 3rd-party dependencies used by ASP.NET Core and Entity Framework Core.
|
|
|
|
All the features of ASP.NET Core 2.x and Entity Framework Core 2.x are included in the `Microsoft.AspNetCore.All` package. The default project templates use this package.
|
|
|
|
The version number of the `Microsoft.AspNetCore.All` metapackage represents the ASP.NET Core version and Entity Framework Core version (aligned with the .NET Core version).
|
|
|
|
Applications that use the `Microsoft.AspNetCore.All` metapackage automatically take advantage of the .NET Core Runtime Store. The Runtime Store contains all the runtime assets needed to run ASP.NET Core 2.x applications. When you use the `Microsoft.AspNetCore.All` metapackage, **no** assets from the referenced ASP.NET Core NuGet packages are deployed with the application — the .NET Core Runtime Store contains these assets. <!-- todo add link to Runtime store --> The assets in the Runtime Store are precompiled to improve application startup time.
|
|
|
|
You can use the package trimming process to remove packages that you don't use. Trimmed packages are excluded in published application output.
|
|
|
|
The following *.csproj* file references the `Microsoft.AspNetCore.All` metapackage for ASP.NET Core:
|
|
|
|
[!code-xml[Main](..\mvc\views\view-compilation\sample\MvcRazorCompileOnPublish2.csproj?highlight=9)]
|