Reputation: 1
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.
Upvotes: 0
Views: 1619
Reputation: 35
The answer from Henrique Oliveira does not work for me. And I can't comment the response...
When I try to update from nuget manager, VS says that :'the version is Blocked by project' and when I force in csProj, VS can't build because the reference is already included in SDK.
My VS is stuck in Version 17.5.5, should I update ?
Upvotes: 0
Reputation: 1
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!!!
Upvotes: 0