MauiApp - Windows Machinine is not working

ivannnnn 0 Reputation points
2024-04-10T13:40:58.01+00:00

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.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,119 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,500 questions
{count} votes

1 answer

Sort by: Most helpful
  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

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.