bytecodealliance / bytecodealliance/componentize-dotnet

Whitespaces in path causes error

Aperta
#95 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
147
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp, wasm
Ambito
build-system, tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.