bytecodealliance / bytecodealliance/componentize-dotnet

Whitespaces in path causes error

Offen
#95 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
147
Forks
18
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp, wasm
Bereich
build-system, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.