File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/Uno.Wasm.Bootstrap/build Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 107
107
</ItemGroup >
108
108
</Target >
109
109
110
+ <Target Name =" _UnoAdjustEmscriptenVersion"
111
+ BeforeTargets=" _SetupEmscripten;_WorkaroundEmscriptenPathLength" >
112
+
113
+ <PropertyGroup >
114
+ <!-- We cannot yet use EmscriptenVersion: https://github.com/dotnet/runtime/issues/108972 -->
115
+ <_UnoEmscriptenVersion >$([System.Text.RegularExpressions.Regex]::Match($(EmscriptenSdkToolsPath), 'Microsoft\.NET\.Runtime\.Emscripten\.(?< Version>\d+(\.\d+)*)\.Sdk').Groups['Version'].Value)</_UnoEmscriptenVersion >
116
+ </PropertyGroup >
117
+ </Target >
110
118
111
119
<Target Name =" _WorkaroundEmscriptenPathLength"
112
120
Condition=" '$(OS)' == 'Windows_NT' "
290
298
AOTProfileExcludedMethods=" $(WasmShellAOTProfileExcludedMethods)"
291
299
Assets=" @(ContentWithTargetPath);@(_UnoWasmCopyToOutputAssets)"
292
300
CurrentProjectPath=" $(MSBuildProjectDirectory)"
293
- EmscriptenVersion=" $(EmscriptenVersion )"
301
+ EmscriptenVersion=" $(_UnoEmscriptenVersion )"
294
302
EnableThreads=" @(WasmEnableThreads)"
295
303
GenerateAOTProfile=" $(WasmShellGenerateAOTProfile)"
296
304
GenerateAOTProfileDebugList=" $(WasmShellGenerateAOTProfileDebugList)"
You can’t perform that action at this time.
0 commit comments