File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/Uno.Wasm.Bootstrap/build Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 117
117
<_targetEMSDKPath >$(USERPROFILE)\.uno\emsdk\$([System.IO.Path]::GetFileName('$(_emsdkOriginalPackagePath)'))</_targetEMSDKPath >
118
118
</PropertyGroup >
119
119
120
+ <PropertyGroup >
121
+ <!-- We cannot yet use EmscriptenVersion: https://github.com/dotnet/runtime/issues/108972 -->
122
+ <_UnoEmscriptenVersion >$([System.Text.RegularExpressions.Regex]::Match($(_emsdkOriginalPackagePath), 'Microsoft\.NET\.Runtime\.Emscripten\.(?< Version>\d+(\.\d+)*)\.Sdk').Groups['Version'].Value)</_UnoEmscriptenVersion >
123
+ </PropertyGroup >
124
+
120
125
<MakeDir Directories =" $([System.IO.Path]::GetDirectoryName('$(_targetEMSDKPath)'))" />
121
126
122
127
<Exec Command =" mklink /J " $(_targetEMSDKPath)" " $(EmscriptenSdkToolsPath)..\tools\" "
290
295
AOTProfileExcludedMethods=" $(WasmShellAOTProfileExcludedMethods)"
291
296
Assets=" @(ContentWithTargetPath);@(_UnoWasmCopyToOutputAssets)"
292
297
CurrentProjectPath=" $(MSBuildProjectDirectory)"
293
- EmscriptenVersion=" $(EmscriptenVersion )"
298
+ EmscriptenVersion=" $(_UnoEmscriptenVersion )"
294
299
EnableThreads=" @(WasmEnableThreads)"
295
300
GenerateAOTProfile=" $(WasmShellGenerateAOTProfile)"
296
301
GenerateAOTProfileDebugList=" $(WasmShellGenerateAOTProfileDebugList)"
You can’t perform that action at this time.
0 commit comments