Skip to content

[wasm] Handle multiple python directories in emsdk #51746

@radekdoulik

Description

@radekdoulik

Sometime emsdk can contain multiple versions of python or other tools. We use $([System.IO.Directory]::GetDirectories($(_PythonToolsBasePath))) to get the _PythonToolsVersionedPath and assume there is only one subdirectory present.

src\mono\wasm\build\WasmApp.targets(289,5): error : Specified Emscripten sdk at $(EMSDK_PATH)=C:\Users\rodo\git\emsdk\ is missing some paths: $(EmscriptenPythonToolsPath)=...\emsdk\python\3.7.4-pywin32_64bit;...\emsdk\python\3.9.2-1_64bit\ . Emscripten SDK is required for AOT'ing assemblies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmWebAssembly architecturearea-Build-monoin-prThere is an active PR which will close this issue when it is merged

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions