You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- $(EMSDK) is typically set by the user and points to a standard emscripten layout. -->
28
+
<!-- $(EmscriptenSdkToolsPath) comes from upstream mono workload and points to the dotnet/emsdk-style SDK layout. -->
29
+
<!-- See https://github.com/dotnet/runtime/blob/main/src/mono/browser/build/EmSdkRepo.Defaults.props. -->
30
+
<ErrorText="Emscripten not found, not compiling to WebAssembly. To enable WebAssembly compilation, install Emscripten and ensure the EMSDK environment variable points to the directory containing emsdk.bat"
31
+
Condition="'$(EMSDK)' == '' and '$(EmscriptenSdkToolsPath)' == ''" />
32
+
</Target>
33
+
34
+
<TargetName="ValidateWasiSdk"
35
+
Condition="'$(_targetOS)' == 'wasi'">
36
+
<ErrorText="Wasi SDK not found, not compiling to WebAssembly. To enable WebAssembly compilation, install Wasi SDK and ensure the WASI_SDK_PATH environment variable points to the directory containing share/wasi-sysroot"
37
+
Condition="'$(WASI_SDK_PATH)' == ''" />
38
+
39
+
<!-- Verify the SDK version. We only issue a warning since it's **possible** a newer SDK might work. -->
<WarningText="Wasi SDK version $(_ActualWasiSdkVersion) is being used. This differs from the expected $(_ExpectedWasiSdkVersion) and might result in build or runtime failures."
@@ -406,28 +405,10 @@ The .NET Foundation licenses this file to you under the MIT license.
406
405
</ItemGroup>
407
406
</Target>
408
407
409
-
<TargetName="CheckWasmSdks">
410
-
<!-- $(EMSDK) is typically set by the user and points to a standard emscripten layout. -->
411
-
<!-- $(EmscriptenSdkToolsPath) comes from upstream mono workload and points to the dotnet/emsdk-style SDK layout. -->
412
-
<!-- See https://github.com/dotnet/runtime/blob/main/src/mono/browser/build/EmSdkRepo.Defaults.props. -->
413
-
<ErrorText="Emscripten not found, not compiling to WebAssembly. To enable WebAssembly compilation, install Emscripten and ensure the EMSDK environment variable points to the directory containing emsdk.bat"
414
-
Condition="'$(EMSDK)' == '' and '$(EmscriptenSdkToolsPath)' == '' and '$(_targetOS)' == 'browser'" />
415
-
416
-
<!-- Verify the WASI SDK location and version (through indirect means...). -->
417
-
<ErrorText="Wasi SDK not found, not compiling to WebAssembly. To enable WebAssembly compilation, install Wasi SDK and ensure the WASI_SDK_PATH environment variable points to the directory containing share/wasi-sysroot"
418
-
Condition="'$(_targetOS)' == 'wasi' and '$(WASI_SDK_PATH)' == ''" />
Text="$(_hostPackageName) version ($(_IlcHostPackageVersion)) differs from the Microsoft.DotNet.ILCompiler.LLVM version ($(_IlcRuntimePackageVersion)). This will likely result in build or runtime failures." />
0 commit comments