Did you install the latest 8.0.6 SDK and/or runtime?
Breaking Change
Created a brand new Blazor Web Assembly Stand Alone project with Visual Studio 2022, .net 8.
Updated the "Microsoft.AspNetCore.Components.WebAssembly" commponents from Version="8.0.3" to Version="8.0.6"
The app does not launch and hangs on the "About" page.
2 answers
Sort by: Most helpful
-
-
Ping Ni-MSFT 3,615 Reputation points Microsoft Vendor
2024-06-06T08:37:54.7766667+00:00 Hi @William Behning
Open your project file(double-click the project name or right-click the project name to choose Edit Project File) and add the following configuration:
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <WasmEnableExceptionHandling>false</WasmEnableExceptionHandling> <WasmEnableSIMD>false</WasmEnableSIMD> </PropertyGroup>
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Rena