I ended up figuring it out, I had to add this in addition. Was not aware AOT was enabled by default.
<RunAOTCompilation>false</RunAOTCompilation>
Thank you for response. Below is my .csproj contents.
The AbpPackageVersion variable is set to 8.1.3
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<UserSecretsId>77e717dc-ef65-40e7-b523-1379d85ada3d</UserSecretsId>
<Configurations>Debug;Release;Release-Mobile</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<ItemGroup>
<Content Remove="packages.lock.json" />
</ItemGroup>
<ItemGroup>
<None Include="packages.lock.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Blazorise.Bootstrap5" Version="1.5.3" />
<PackageReference Include="Blazorise.Charts" Version="1.5.3" />
<PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.5.3" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.6" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.40" />
<PackageReference Include="Serilog" Version="2.10.0" />
<PackageReference Include="Telerik.UI.for.Blazor" Version="6.0.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Autofac.WebAssembly" Version="$(AbpPackageVersion)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Identity.Blazor.WebAssembly" Version="$(AbpPackageVersion)" />
<PackageReference Include="Volo.Abp.Identity.Domain" Version="$(AbpPackageVersion)" />
<PackageReference Include="Volo.Abp.TenantManagement.Blazor.WebAssembly" Version="$(AbpPackageVersion)" />
<PackageReference Include="Volo.Abp.SettingManagement.Blazor.WebAssembly" Version="$(AbpPackageVersion)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Portal.HttpApi.Client\Portal.HttpApi.Client.csproj" />
<ProjectReference Include="..\Portal.Blazor.Shared\Portal.Blazor.Shared.csproj" />
<ProjectReference Include="..\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme.csproj" />
</ItemGroup>
</Project>
hi
Please run the following commands
abp clean dotnet build
And share your csproj file of Blazor
Thanks.