Skip to content

Conversation

jamescrosswell
Copy link
Collaborator

@jamescrosswell jamescrosswell commented Oct 14, 2025

Addresses this error when trying to build WASM client applications on Windows:

PS C:\code\MyTestProject\MyTestProject.Client> dotnet build -p:WasmBuildNative=true
Restore complete (0.4s)
    info NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
  MyTestProject.Client failed with 2 error(s) (11.3s)
    emcc : error /NODEFAULTLIB:MSVCRT: No such file or directory ("/NODEFAULTLIB:MSVCRT" was expected to be an input file, based on the commandline arguments provided)
    C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\10.0.0-rc.1.25451.107\Sdk\BrowserWasmApp.targets(522,5): error MSB3073: The command "emcc "@C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\10.0.0-rc.1.25451.107\runtimes\browser-wasm\native\src\emcc-default.rsp" -msimd128 "@C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\10.0.0-rc.1.25451.107\runtimes\browser-wasm\native\src\emcc-link.rsp" "@C:\code\MyTestProject\MyTestProject.Client\obj\Debug\net10.0\wasm\for-build\emcc-link.rsp"" exited with code 1.

May also resolve #4550

Although initial feedback from the customer is that it does not. Hard to verify as I haven't been able to reproduce that issue yet.

Copy link

codecov bot commented Oct 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (version6@6377b49). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             version6    #4631   +/-   ##
===========================================
  Coverage            ?   73.08%           
===========================================
  Files               ?      479           
  Lines               ?    17381           
  Branches            ?     3430           
===========================================
  Hits                ?    12703           
  Misses              ?     3819           
  Partials            ?      859           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant