diff --git a/src/mono/mono.proj b/src/mono/mono.proj index 48d7a215026f3..60929ccf18325 100644 --- a/src/mono/mono.proj +++ b/src/mono/mono.proj @@ -136,18 +136,23 @@ .sh - .bat + .ps1 $(ProvisionEmscriptenDir) $([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)', 'wasm')) emsdk %(_VersionLines.Identity) + + ./emsdk$(EmsdkExt) install $(EmscriptenVersion) + ./emsdk$(EmsdkExt) activate $(EmscriptenVersion) + powershell -NonInteractive -command "& $(InstallCmd); Exit $LastExitCode " + powershell -NonInteractive -command "& $(ActivateCmd); Exit $LastExitCode " -