I'm working in a blazor wasm hosted app, it actually works when it runs in visual studio and when I publish the app in IIS it works to. The problem starts when I copy and paste the publish to IIS in another server.It gives me a lot of errors, but it all look like the next one:blazor.webassembly.js:1 Error in mono_download_assets: Error: Assert failed: This browser/engine doesn't support WASM SIMD. Please use a modern version. See also https://aka.ms/dotnet-wasm-featuresthere are like 7 times this error.
I understand that the problem could be WASM SIMD, so I disabled it, but it didnt work.The project is called Risk, and this is Risk.Server.csproject:
<Project Sdk="Microsoft.NET.Sdk.Web"><PropertyGroup><TargetFramework>net8.0</TargetFramework><Nullable>enable</Nullable><ImplicitUsings>enable</ImplicitUsings><WasmEnableSIMD>false</WasmEnableSIMD><BlazorWebAssemblyJiterpreter>false</BlazorWebAssemblyJiterpreter></PropertyGroup><ItemGroup><PackageReference Include="AutoMapper" Version="13.0.1" /><PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.7" /><PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.7" /><PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.7" /><PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.7" /><PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.7" /><PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.7"><PrivateAssets>all</PrivateAssets><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets></PackageReference><PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" /><PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.6.3" /></ItemGroup><ItemGroup><ProjectReference Include="..\Client\Risk.Client.csproj" /><ProjectReference Include="..\Shared\Risk.Shared.csproj" /></ItemGroup></Project>As you can see, I disabled the SIMD on this line: <WasmEnableSIMD>false</WasmEnableSIMD>.and this is my index.html:
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /><title>Risk</title><base href="/" /><link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" /><link href="css/app.css" rel="stylesheet" /><link href="Risk.Client.styles.css" rel="stylesheet" /><link rel="stylesheet" href="_content/Radzen.Blazor/css/software-base.css"></head><body><div id="app">Loading...</div><div id="blazor-error-ui"> An unhandled error has occurred.<a href="" class="reload">Reload</a><a class="dismiss">🗙</a></div><script src="_framework/blazor.webassembly.js"></script> <script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script><script> window.downloadFile = async (fileName, byteArray) => { const blob = new Blob([new Uint8Array(byteArray)]); const arrayBuffer = await blob.arrayBuffer(); const url = URL.createObjectURL(blob); const anchorElement = document.createElement('a'); anchorElement.href = url; anchorElement.download = fileName ?? ''; anchorElement.click(); anchorElement.remove(); URL.revokeObjectURL(url); }</script></body></html>I really dont know what else to do, if anyone can help, I'll apreciate that.