With wasi-experimental, could not find wasi-sdk when trying to publish wasi-wasm console application error - a workaround proposal #110111
Labels
arch-wasm
WebAssembly architecture
area-VM-meta-mono
os-wasi
Related to WASI variant of arch-wasm
untriaged
New issue has not been triaged by the area owner
When trying to publish a wasi-wasm console app.
We may be affected by the following error
.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Wasi.Sdk/9.0.0/Sdk/WasiApp.targets(116,5): error : Could not find wasi-sdk. Install wasi-sdk and set $(WASI_SDK_PATH) . It can be obtained from https://github.com/WebAssembly/wasi-sdk/releases SDK is required for building native files.
This is related to the closed issue #94671.
I found out after reading the WasiApp.targets its looking for
${WAIS_SDK_PATH)/VERSION24
which is missing when using this install method.The simple workaround is to do
touch $WASI_SDK_PATH/VERSION24
.Hopefully this may help either find a permanent solution or provided appropriate documentation.
The text was updated successfully, but these errors were encountered: