bytecodealliance / bytecodealliance/componentize-dotnet
The project initialized on Mac cannot be compiled successfully.
- Dominant language
- C#
- Stars
- 147
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
```
benliu@192 app10 % dotnet build
Restore complete (7.6s)
info NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
app10 failed with 1 error(s) (0.2s) → bin/Debug/net10.0/wasi-wasm/app10.dll
/Users/benliu/.nuget/packages/microsoft.dotnet.ilcompiler.llvm/10.0.0-alpha.1.25162.1/build/Microsoft.NETCore.Native.targets(363,5): error MSB3073: The command ""\tools\\ilc" @"obj/Debug/net10.0/wasi-wasm/native/app10.ilc.rsp"" exited with code 127.
```
```
benliu@192 app10 % sw_vers
ProductName: macOS
ProductVersion: 26.0.1
BuildVersion: 25A362
```
```shell
benliu@192 app10 % dotnet --version
10.0.100-rc.1.25451.107
```
```
steps:
dotnet new install BytecodeAlliance.Componentize.DotNet.Templates
dotnet new componentize.wasi.cli
dotnet build
```
```
benliu@192 app10 % cat app10.csproj
Exe
net10.0
app10
enable
enable
wasi-wasm
false
true
true
true
```
Contributor guide
Research direction
Reproduce the failure with the listed dotnet new and dotnet build steps on macOS, then inspect app10.csproj and the BytecodeAlliance.Componentize.DotNet.Wasm.SDK and ilcompiler.llvm package references. Trace the MSB3073 command failure and exit code 127; done means the generated project builds successfully on the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, macos, wasm
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100