Include a lower bound in the dependency version to ensure consistent restore results. The following packages are included in Microsoft. All but not the Microsoft. App package. To move from Microsoft. App , if your app uses any APIs from the above packages, or packages brought in by those packages, add references to those packages in your project. Any dependencies of the preceding packages that otherwise aren't dependencies of Microsoft. App are not included implicitly. For example:.
We recommend migrating to the Microsoft. App metapackage for 2. To keep using the Microsoft. All metapackage and ensure the latest patch version is deployed:. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info.
Contents Exit focus mode. Package Manager. App -Version 2. App --version 2. For projects that support PackageReference , copy this XML node into the project file to reference the package. The NuGet Team does not provide support for this client.
Please contact its maintainers for support. App, 2. NET Interactive. Copy this into the interactive tool or source code of the script to reference the package. Toggle navigation. App 2. Package Manager. App -Version 2. App --version 2. For projects that support PackageReference , copy this XML node into the project file to reference the package. The NuGet Team does not provide support for this client. Please contact its maintainers for support. The implicit version is set to major.
The shared framework roll-forward mechanism will run the app on the latest compatible version among the installed shared frameworks. To guarantee the same version is used in development, test, and production, ensure the same version of the shared framework is installed in all environments. For self contained apps, the implicit version number is set to the major.
Specifying a version number on the Microsoft. App reference does not guarantee that version of the shared framework will be chosen. For example, suppose version "2. In that case, the app will use "2. For more information regarding dotnet host roll-forward and how to configure its behavior, see dotnet host roll forward. Web to use the implicit version Microsoft.
Web is used:. Warning NU Project dependency Microsoft. App does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results. App metapackage isn't a traditional package that's updated from NuGet. Similar to Microsoft.
App , Microsoft. App represents a shared runtime, which has special versioning semantics handled outside of NuGet. For more information, see Packages, metapackages and frameworks. Applications will roll forward to the latest installed version on application restart. It's not necessary to update the Microsoft. App version number in the project file. For more information, see Framework-dependent apps roll forward. If your application previously used Microsoft.
0コメント