How to fix the blank screen in a Blazor Hybrid app in Windows?

Lorenzo Jiménez Briceño 0 Reputation points
2025-03-23T15:20:53.44+00:00

Recently I updated my Visual Studio and dot net runtime, and created an app using the Blazor Hybrid template and following the "Exercise - Create and run a Blazor Hybrid app", when running everything works great with Mac and Android but I only get a blank screen when running in Windows?

Microsoft Visual Studio Community 2022, 17.13.4/17.13.4+35913.81

dotnet 9.0.201

dotnet workload list:

android 35.0.50/9.0.100 SDK 9.0.200, VS 17.13.35913.81

aspire 8.2.2/8.0.100 SDK 9.0.200, VS 17.13.35913.81

ios 18.2.9180/9.0.100 SDK 9.0.200, VS 17.13.35913.81

maccatalyst 18.2.9180/9.0.100 SDK 9.0.200, VS 17.13.35913.81

maui 9.0.14/9.0.100 SDK 9.0.200

maui-android 9.0.14/9.0.100 SDK 9.0.200

maui-windows 9.0.14/9.0.100 SDK 9.0.200, VS 17.13.35913.81

How to fix the blank screen in a Blazor Hybrid app in Windows?

This question is related to the following Learning Module

Developer technologies | .NET | .NET MAUI
{count} votes

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.