From ec71d359a80312dd5902165f22ee1835e9c080de Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Sun, 30 Jul 2023 20:25:35 -0400 Subject: [PATCH] Add properties `$(EmscriptenVersion)`, and `$(EmscriptenRevision)` Fixes https://github.com/dotnet/runtime/issues/61306 --- eng/sdk_files/Emscripten.Sdk.props | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/sdk_files/Emscripten.Sdk.props b/eng/sdk_files/Emscripten.Sdk.props index a54474fc42..ff8035e279 100644 --- a/eng/sdk_files/Emscripten.Sdk.props +++ b/eng/sdk_files/Emscripten.Sdk.props @@ -3,6 +3,9 @@ $(MSBuildThisFileDirectory)..\tools\ $(EmscriptenSdkToolsPath)bin\ $(EmscriptenSdkToolsPath)emscripten\ + + $([System.IO.File]::ReadAllText('$(EmscriptenUpstreamEmscriptenPath)\emscripten-version.txt').Replace('"', '')) + $([System.IO.File]::ReadAllText('$(EmscriptenUpstreamEmscriptenPath)\emscripten-revision.txt'))