-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the bug
I have a .net10.0 project that is serving a .net9.0 library as a wasm package for a VueJS frontend. On Windows 10 (shame, I know) my dotnet publish -c Release command works successfully and I can hook the wwwroot artifacts into my app. I pulled the same repo down onto an Ubuntu 24.04 LTS device and my dotnet publish -c Release seems to be missing wasm files? The VueJS is blowing up with a mono_wasm_load_runtime () failed which I'm assuming is it trying to find these dependency packages.
To Reproduce
I don't have a repro/example to reproduce this, but I'm attaching my binlogs from the Windows publish, Linux build, and Linux publish. If those are insufficient I can try to see if I can whip up a minimal repro case. Here's my csproj definition if that is meaningful:
<Project Sdk="Microsoft.NET.Sdk.WebAssembly">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
<PublishTrimmed>true</PublishTrimmed>
<RunAOTCompilation>true</RunAOTCompilation>
<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
<!-- <WasmSingleFileBundle>true</WasmSingleFileBundle> --> <!-- explosions -->
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Necronomicon\src\necronomicon.csproj" />
</ItemGroup>
</Project>
Exceptions (if any)
None in the publish just nullable warnings
Further technical details
details of dotnet --info
$ dotnet --info .NET SDK: Version: 10.0.100-rc.2.25502.107 Commit: 89c8f6a112 Workload version: 10.0.100-rc.2.25513.4 MSBuild version: 18.0.0-preview-25502-107+89c8f6a11
Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: ubuntu.24.04-x64
Base Path: /usr/lib/dotnet/sdk/10.0.100-rc.2.25502.107/
.NET workloads installed:
[wasm-experimental]
Installation Source: SDK 10.0.100-rc.2
Manifest Version: 10.0.100-rc.2.25502.107/10.0.100-rc.2
Manifest Path: /home/nick/.dotnet/sdk-manifests/10.0.100-rc.2/microsoft.net.workload.mono.toolchain.current/10.0.100-rc.2.25502.107/WorkloadManifest.json
Install Type: FileBased
[wasm-tools]
Installation Source: SDK 10.0.100-rc.2
Manifest Version: 10.0.100-rc.2.25502.107/10.0.100-rc.2
Manifest Path: /home/nick/.dotnet/sdk-manifests/10.0.100-rc.2/microsoft.net.workload.mono.toolchain.current/10.0.100-rc.2.25502.107/WorkloadManifest.json
Install Type: FileBased
Configured to use workload sets when installing new manifests.
Host:
Version: 10.0.0-rc.2.25502.107
Architecture: x64
Commit: 89c8f6a112
.NET SDKs installed:
9.0.111 [/usr/lib/dotnet/sdk]
10.0.100-rc.2.25502.107 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.10 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0-rc.2.25502.107 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.10 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0-rc.2.25502.107 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_BUNDLE_EXTRACT_BASE_DIR [/home/nick/.cache/dotnet_bundle_extract]
DOTNET_ROOT [/home/nick/dotnet]
global.json file:
Not found
basic screenshots:

