Covert my app to UWP

Lucas 41 Reputation points

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.

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous

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

1 additional answer

  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more