Breaking Change

William Behning 0 Reputation points
2024-06-05T17:41:02.88+00:00

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.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,477 questions
{count} votes

2 answers

Sort by: Most helpful
  1. AgaveJoe 27,421 Reputation points
    2024-06-05T18:13:17.58+00:00

    Did you install the latest 8.0.6 SDK and/or runtime?

    https://dotnet.microsoft.com/en-us/download/dotnet/8.0

    0 comments No comments

  2. Ping Ni-MSFT 3,115 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

    0 comments No comments