|
83 | 83 |
|
84 | 84 | <ItemGroup Condition="'$(TargetsBrowser)' == 'true' or '$(TargetsWasi)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">
|
85 | 85 | <PackageReference Condition="'$(HostOS)' == 'windows'"
|
86 |
| - Include="Microsoft.NET.Runtime.Emscripten.3.1.34.Python.win-x64" |
| 86 | + Include="Microsoft.NET.Runtime.Emscripten.$(EmsdkVersion).Python.win-x64" |
87 | 87 | PrivateAssets="all"
|
88 |
| - Version="$(MicrosoftNETRuntimeEmscripten3134Pythonwinx64Version)" |
| 88 | + Version="$(EmsdkPackageVersion)" |
89 | 89 | GeneratePathProperty="true" />
|
90 | 90 | </ItemGroup>
|
91 | 91 |
|
|
108 | 108 | Only wasi doesn't come with its own python and windows uses 32-bit python, so refer to the transport pack instead.
|
109 | 109 | -->
|
110 | 110 | <PropertyGroup Condition="'$(HostOS)' == 'windows' and '$(TargetsWasi)' == 'true'">
|
111 |
| - <PythonCmd>$([MSBuild]::NormalizePath('$(PkgMicrosoft_NET_Runtime_Emscripten_3_1_34_Python_win-x64)', 'tools', 'python'))</PythonCmd> |
| 111 | + <PythonCmd>$([MSBuild]::NormalizePath('$(PkgMicrosoft_NET_Runtime_Emscripten_3_1_56_Python_win-x64)', 'tools', 'python'))</PythonCmd> |
112 | 112 | </PropertyGroup>
|
113 | 113 |
|
114 | 114 | <!-- CI specific build options -->
|
@@ -261,11 +261,11 @@ JS_ENGINES = [NODE_JS]
|
261 | 261 | <RemoveDir Directories="$(EMSDK_PATH)" />
|
262 | 262 |
|
263 | 263 | <ItemGroup>
|
264 |
| - <EmsdkFiles Condition="'%(PackageReference.Identity)' != 'runtime.$(_portableHostOS)-$(BuildArchitecture).Microsoft.NETCore.Runtime.Wasm.Node.Transport' and '%(PackageReference.Identity)' != 'Microsoft.NET.Runtime.Emscripten.3.1.34.Python.win-$(BuildArchitecture)'" |
| 264 | + <EmsdkFiles Condition="'%(PackageReference.Identity)' != 'runtime.$(_portableHostOS)-$(BuildArchitecture).Microsoft.NETCore.Runtime.Wasm.Node.Transport' and '%(PackageReference.Identity)' != 'Microsoft.NET.Runtime.Emscripten.$(EmsdkVersion).Python.win-$(BuildArchitecture)'" |
265 | 265 | Include="$(NuGetPackageRoot)\$([System.String]::Copy(%(PackageReference.Identity)).ToLowerInvariant())\%(PackageReference.Version)\tools\**" />
|
266 | 266 | <NodeFiles Condition="'%(PackageReference.Identity)' == 'runtime.$(_portableHostOS)-$(BuildArchitecture).Microsoft.NETCore.Runtime.Wasm.Node.Transport'"
|
267 | 267 | Include="$(NuGetPackageRoot)\$([System.String]::Copy(%(PackageReference.Identity)).ToLowerInvariant())\%(PackageReference.Version)\tools\$(_portableHostOS)-$(BuildArchitecture)\**" />
|
268 |
| - <PythonFiles Condition="'$(HostOS)' == 'windows' and '%(PackageReference.Identity)' == 'Microsoft.NET.Runtime.Emscripten.3.1.34.Python.win-$(BuildArchitecture)'" |
| 268 | + <PythonFiles Condition="'$(HostOS)' == 'windows' and '%(PackageReference.Identity)' == 'Microsoft.NET.Runtime.Emscripten.$(EmsdkVersion).Python.win-$(BuildArchitecture)'" |
269 | 269 | Include="$(NuGetPackageRoot)\$([System.String]::Copy(%(PackageReference.Identity)).ToLowerInvariant())\%(PackageReference.Version)\tools\**" />
|
270 | 270 | </ItemGroup>
|
271 | 271 |
|
|
0 commit comments