![]() ![]() When the version is not specified, an implicit version is specified by the SDK, that is,. It doesn't specify a version number for the package reference. The preceding markup represents a typical ASP.NET Core 2.x template. The following project file references the metapackage for ASP.NET Core and represents a typical ASP.NET Core 2.2 template: For more information, see The shared framework. The assets in the shared framework are precompiled to improve application startup time. When you use the metapackage, no assets from the referenced ASP.NET Core NuGet packages are deployed with the application-the ASP.NET Core shared framework contains these assets. was designed to prevent untested version combinations of related bits being used together in the same app.Īpplications that use the metapackage automatically take advantage of the ASP.NET Core shared framework. Version consistency ensures a reliable experience. ![]() Other packages added to your app cannot change the version of packages included in.If a package is included that has a transitive (not direct) dependency on a package in, and those version numbers differ, NuGet will generate an error.Using the metapackage provides version restrictions that protect your app: The version number of the metapackage represents the minimum ASP.NET Core version and Entity Framework Core version. We recommend applications targeting ASP.NET Core 2.x and Entity Framework Core 2.x use the package. The default project templates targeting ASP.NET Core 2.x use this package. Includes all supported packages by the Entity Framework Core team except those that contain third-party dependencies (other than those previously mentioned).Īll the features of ASP.NET Core 2.x and Entity Framework Core 2.x are included in the package.Includes all supported packages by the ASP.NET Core team except those that contain third-party dependencies (other than those previously mentioned).These 3rd-party dependencies are deemed necessary to ensure the major frameworks features function. Does not include third-party dependencies except for Json.NET, Remotion.Linq, and IX-Async.This feature requires ASP.NET Core 2.x targeting. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |