Open
Description
Build: .NET SDK 9.0.302 or 8.0.412
To Reproduce
- Install .NET SDK with deb installer on Debian 12 or Ubuntu 24.04
- Install wasm-tools with below command
sudo dotnet workload install wasm-tools --skip-manifest-update --configfile ~/.nuget/NuGet/NuGet.Config
- Create a blazorwasm app then publish
dotnet new blazorwasm -o myblazorwasm
cd myblazorwasm
dotnet publish
- Observe
Exceptions (if any)
Publishing blazorwasm app failed with error MSB3073
8.0
Excepted Result
Publishing blazorwasm app works fine
Note
- This issue is only reproduced on Linux
- This issue is not reproduced without wasm-tools workload installed
- This issue is not reproduced on .NET 8.0.411
Further technical details
- Include the output of
dotnet --info
nicole@ubu2404:~/myblazorwasm$ dotnet --info
.NET SDK:
Version: 8.0.412
Commit: 94b6f178ea
Workload version: 8.0.400-manifests.0c346719
MSBuild version: 17.11.31+933b72e36
Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/8.0.412/
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
[wasm-tools]
Installation Source: SDK 8.0.400
Manifest Version: 8.0.18/8.0.100
Manifest Path: /usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.workload.mono.toolchain.current/8.0.18/WorkloadManifest.json
Install Type: FileBased
Version: 8.0.18
Architecture: x64
Commit: ef853a7105
.NET SDKs installed:
8.0.412 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.18 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.18 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download