简体   繁体   中英

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 while upgrading recommends me to use.Net 4.8 framework.

I'm looking at the .NET framework versions for various Windows version on this page:

.NET Framework versions and dependencies

That means someone using my app on Windows 10 1803 will not have.Net framework 4.8 by default. 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?

What would be the proper recommended min version or build with a particular.Net framework strategy here?

If I remember it correctly, when users download your app from the Microsoft Store, it will automatically download all the dependencies.

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.

If the framework package is already installed on the user's device, no further action is necessary. Otherwise, the Microsoft Store triggers the installation of the framework package before proceeding with the installation for the app that uses it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM