Open eduardocp opened 3 weeks ago
The issue looks like this one https://github.com/dotnet/runtime/issues/94939. If that's the case, it was fixed and backported (https://github.com/dotnet/runtime/pull/102155) to .NET 8. Can you please try installing latest .NET 8 SDK (8.0.301) and verify the issue remains?
@eduardocp Hi! I experienced something very similar to what you describe. By any chance, do you have extra build configurations apart from Debug
and Release
? I had a custom build configuration named Release_Server
. My publish profile was using that build configuration and the published application threw the same error as your description. However, if I switch to Release
(even though I set it up exactly as I had my "Release_Server" configuration), the application runs fine, with SIMD correctly disabled and running on a Phenom II X6 processor.
@sgorozco I used this combination to successfully publish:
dotnet publish -c Release --output my/output/path -p:WasmEnableSIMD=false -p:WasmNativeStrip=false
@maraf I didn't try to publish just with WasmEnableSIMD=false yet. I will do this soon.
This issue has been marked needs-author-action
and may be missing some important information.
Description
I'm publishing with these parameters -p:WasmEnableSIMD=false
This is the runtime error I get when using the above parameters
I tried everything in https://github.com/dotnet/runtime/issues/100234 but without success.
Reproduction Steps
Was unable to make a vanilla project demonstrating this issue. My Blazor app is quite large and difficult to pare down to a working example.
Expected behavior
The app work normaly with WasmEnableSIMD=false
Actual behavior
The app crash
Regression?
These parameters are now required as a consequence of 8.0 incorporating SIMD, which isn't supported by all browsers/OSs/hardware, so there is no historical precedent
Known Workarounds
None known
Configuration
latest .net/win11/Chrome/Edge/asp on high-end recent intel Avell Storm Two laptop.
Other information
No response