简体   繁体   English

Microsoft Store 会自动安装 a.Net 框架吗?

[英]Does Microsoft Store automatically install a .Net framework?

I'm now using Visual Studio 2022 to recompile a DLL project for a Microsoft Store App (desktop-bridge win32).我现在使用 Visual Studio 2022 为 Microsoft Store 应用程序(桌面桥 win32)重新编译 DLL 项目。 Visual Studio while upgrading recommends me to use.Net 4.8 framework.升级时 Visual Studio 建议我使用 .Net 4.8 框架。

I'm looking at the .NET framework versions for various Windows version on this page:我正在查看此页面上各种 Windows 版本的 .NET 框架版本:

.NET Framework versions and dependencies .NET 框架版本和依赖关系

That means someone using my app on Windows 10 1803 will not have.Net framework 4.8 by default.这意味着在 Windows 10 1803 上使用我的应用程序的人默认不会拥有 .Net 框架 4.8。 So do I have to declare my min version in manifest file according to that page?那么我是否必须根据该页面在清单文件中声明我的最小版本? Or, alternatively will the Microsoft Store automatically update the.Net framework for that user before installing the App?或者,Microsoft Store 是否会在安装应用程序之前自动为该用户更新 .Net 框架?

What would be the proper recommended min version or build with a particular.Net framework strategy here?什么是适当的推荐最小版本或在这里使用特定的.Net 框架策略构建?

If I remember it correctly, when users download your app from the Microsoft Store, it will automatically download all the dependencies.如果我没记错的话,当用户从 Microsoft Store 下载您的应用程序时,它会自动下载所有依赖项。

As mentioned in this document : When the user installs your app from the Microsoft Store, it detects the dependency and ensures that the framework package is made available to the app.如本文档所述:当用户从 Microsoft Store 安装您的应用程序时,它会检测依赖关系并确保框架 package 可供应用程序使用。

If the framework package is already installed on the user's device, no further action is necessary.如果框架 package 已安装在用户设备上,则无需进一步操作。 Otherwise, the Microsoft Store triggers the installation of the framework package before proceeding with the installation for the app that uses it.否则,Microsoft Store 会在继续安装使用它的应用程序之前触发框架 package 的安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Microsoft Store 中旁加载应用程序时安装 Microsoft.NET.Native.Runtime.2.1-rel 包 - How to install Microsoft.NET.Native.Runtime.2.1-rel package while sideloading an app in Microsoft Store 是否可以在没有 Windows 商店和侧载的情况下安装经微软认证的 appx? - Is it possible to install a microsoft certified appx without windows store and without sideloading? 添加.NET Framework DLL作为对Windows应用商店应用的参考 - Adding .NET Framework DLL as reference to windows store app Windows应用商店的.NET中不存在UriFormatException - UriFormatException does not exist in .NET for Windows Store apps 在UWP或商店应用程序中,如何确定安装了哪些.NET Framework版本 - In UWP or Store app how to determine which .NET Framework Versions are installed 将Windows Store项目引用到.Net Framework程序集,例如类库 - Referencing Windows Store project to .Net Framework assembly, eg Class Library 是否在Windows 10的Visual Studio 2015中的Windows Store应用程序上自动启用了.Net Native? - Is .Net Native automatically enabled on a Windows Store App in Visual Studio 2015 on Windows 10? Microsoft商店中的Uri电影计划 - Uri Scheme for Movie in the Microsoft Store 在Microsoft Store中验证购买的订阅? - Validate Purchase in Microsoft Store for Subscriptions? Microsoft Store附加产品批量销售 - Microsoft Store Add-Ons bulk sale
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM