When I create a MAUI Blazor Hybrid App project I always get the same error, which doesn't let me run my app.
After several months of searching through the internet, I finally found an easy fix for this common error in MAUI Blazor Hybrid App projects.
Error Code:
Severity Code Description Project File Line Suppression State Details Warning DEP0840: Project 'FirstSignalR.App' requires packages 'MicrosoftCorporationII.WinAppRuntime.Main.1.3_8wekyb3d8bbwe' and 'MicrosoftCorporationII.WinAppRuntime.Singleton_8wekyb3d8bbwe' with version >= '3000.934.1904.0'. These packages should be installed on first run, if not please visit http://go.microsoft.com/fwlink/?linkid=2222757 for installation instructions. FirstSignalR.App
I was trying to run a new and simple MAUI Blazor Hybrid App project.
The solution is super simply. You just need to install Microsoft.WindowsAppSDK nuget package.
Step-by-step:
If this solution worked for you, don't forget to check it as solution to this problem.
Happy coding for everyone!!!