MauiApp - Windows Machinine is not working
Visual Studio version 17.9.5, all components have been updated to the latest version.
I am creating an Application project .NET MAUI (Microsoft), I leave the standard project name. After creation, I wait 30 seconds for everything to be fine-tuned, and launch the debugging application via Windows Machine (green arrow on the panel). It doesn't open. There are no errors, but a warning:
DEP0840: The "MauiApp1" project requires "MicrosoftCorporationII" packages.WinAppRuntime.Main.1.3_8wekyb3d8bbwe" and "MicrosoftCorporationII.WinAppRuntime.Singleton_8wekyb3d8bbwe" versions >= "3000.934.1904.0". These packages should be installed at the first launch. If this is not done, visit http://go.microsoft.com/fwlink/?linkid=2222757 for installation instructions. MauiApp1
I clicked on the link, downloaded it through "Download the latest x64 stable installer (1.5.1)" (blue button on the page), launched it. It didn't help. But the installation seems to have been successful.
Developer mode is enabled in Windows settings.
I have been suffering for 3 weeks now, I have recreated the application many times, nothing helps. That is, a completely "clean" project does not work. The MAUI application being created itself is registered in the Windows application list, but it does not start. Running as an administrator, as advised on the forums, did not help either.
What can be done?
Windows 10 Pro, version 22H2.
Please help me.
1 answer
Sort by: Most helpful
-
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