Covert my app to UWP

Lucas 41 Reputation points
2019-11-08T03:50:00.527+00:00

I have a console app and I have made some changes to the registry. If I convert to UWP how it can be done and what happen with the registry.

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
    2019-11-08T07:02:51.61+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    Native UWP apps are not allowed to write or edit the registry. Desktop bridge apps can't write or edit the registry directly as well. If your desktop app has such functions that could write or edit the registry, it will change after conversion.

    'All entries that your application writes to the HKEY_LOCAL_MACHINE registry hive are redirected to an isolated binary file and any entries that your application writes to the HKEY_CURRENT_USER registry hive are placed into a private per-user, per-app location.'

    This is mentioned in the document here: Prepare to package a desktop application

    For more information about the registry redirection, please refer to this: Behind the scenes of your packaged desktop application

    Thanks.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.