Why does error occur while debugging .MAUI app in Windows with just default code?

89 views Asked by At

With a brand-new MAUI project (just default code), I try to run the Debug in Windows and receive the following error:

Deployment failed. FileNotFoundException - Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=4.0.0.0.

A pop-up with the information indicating I need to go to the configuration manager and check the "Deploy" checkbox. Of course, it is already checked. When I debug in the Android emulator it works just fine. Is MAUI broken for Windows? Why does it not load the appropriate version needed? Can you help. I have had the same issue in WPF in the past and it seems to be a reoccurring thing.

0

There are 0 answers