Skip to content

Commit a7da979

Browse files
authored
[wasm] Fix reference to Microsoft.Build.NoTargets (#75472)
.. in `WasmTestRunner.proj` used for runtime tests. This project requires an explicit SDK version number because it is used on Helix, and `global.json` is not available there. The version matches what we have in `global.json`. ``` Starting: Loader.classloader.XUnitWrapper (parallel test collections = on, max threads = 2) Loader/classloader/DefaultInterfaceMethods/genericmethods/genericmethods/genericmethods.sh [FAIL] ... /datadisks/disk1/work/C25609EE/p/wasm-test-runner/WasmTestRunner.proj : error : Failed to resolve SDK 'Microsoft.Build.NoTargets/1.0.53'. Package restore was successful but a package with the ID of "Microsoft.Build.NoTargets" was not installed. /datadisks/disk1/work/C25609EE/p/wasm-test-runner/WasmTestRunner.proj : error MSB4236: The SDK 'Microsoft.Build.NoTargets/1.0.53' specified could not be found. ```
1 parent 559d9e7 commit a7da979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/Common/wasm-test-runner/WasmTestRunner.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- This project requires an explicit SDK version number because it is used on Helix,
22
and global.json is not available. -->
3-
<Project Sdk="Microsoft.Build.NoTargets/1.0.53" DefaultTargets="WasmBuildApp">
3+
<Project Sdk="Microsoft.Build.NoTargets/3.5.0" DefaultTargets="WasmBuildApp">
44
<Import Project="$(CORE_ROOT)\build\WasmApp.InTree.props" />
55
<PropertyGroup>
66
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>

0 commit comments

Comments
 (0)