Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Jain <radical@gmail.com>2022-09-13 19:42:50 +0300
committerGitHub <noreply@github.com>2022-09-13 19:42:50 +0300
commita7da9799dece0f7d761b1b4a17008bd429268cdc (patch)
tree3b5803ed3620b8dac422b6f5836837ec24b7c3d9
parent559d9e7ca86eac451a8c840190593fad9fd5b842 (diff)
[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. ```
-rw-r--r--src/tests/Common/wasm-test-runner/WasmTestRunner.proj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/Common/wasm-test-runner/WasmTestRunner.proj b/src/tests/Common/wasm-test-runner/WasmTestRunner.proj
index 3c604b39a4a..a692df6a293 100644
--- a/src/tests/Common/wasm-test-runner/WasmTestRunner.proj
+++ b/src/tests/Common/wasm-test-runner/WasmTestRunner.proj
@@ -1,6 +1,6 @@
<!-- This project requires an explicit SDK version number because it is used on Helix,
and global.json is not available. -->
-<Project Sdk="Microsoft.Build.NoTargets/1.0.53" DefaultTargets="WasmBuildApp">
+<Project Sdk="Microsoft.Build.NoTargets/3.5.0" DefaultTargets="WasmBuildApp">
<Import Project="$(CORE_ROOT)\build\WasmApp.InTree.props" />
<PropertyGroup>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>