bytecodealliance / bytecodealliance/componentize-dotnet

Whitespaces in path causes error

Open
#95 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
147
Forks
18
PR merge metrics
No merged PRs in 30d

Description

When executing the dotnet build, the package is searching for wit-bindget, but if your path contains whitespaces the string path get cut.

Workaround:

declare in your csproj

```xml

path\without\whitespaces\to\wit-bindgen.exe

```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with dotnet build from a path containing whitespace, without setting WitBindgenExe in the csproj. Trace how the package locates and invokes wit-bindgen.exe, then verify that the same build succeeds from a whitespace-containing path without the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, wasm
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.