File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
src/Uno.Wasm.Bootstrap/build Expand file tree Collapse file tree 1 file changed +8
-5
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' "
117
125
<_targetEMSDKPath >$(USERPROFILE)\.uno\emsdk\$([System.IO.Path]::GetFileName('$(_emsdkOriginalPackagePath)'))</_targetEMSDKPath >
118
126
</PropertyGroup >
119
127
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
-
125
128
<MakeDir Directories =" $([System.IO.Path]::GetDirectoryName('$(_targetEMSDKPath)'))" />
126
129
127
130
<Exec Command =" mklink /J " $(_targetEMSDKPath)" " $(EmscriptenSdkToolsPath)..\tools\" "
You can’t perform that action at this time.
0 commit comments