I can't reproduce your problem. I can read the key sucessfully after I published the project by the two ways in the official document about Publish a .NET MAUI app for Windows. But I can't read the key in the native winui 3 project unless I add the Registry HKLM Key below the SOFTWARE\\WOW6432Node.
↧