question

Lucas-1232 avatar image
0 Votes"
Lucas-1232 asked ·

Covert my app to UWP

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.

windows-uwpwindows-desktop-bridge
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered ·

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.


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.