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:
authorViktor Hofer <viktor.hofer@microsoft.com>2020-09-25 01:21:13 +0300
committerGitHub <noreply@github.com>2020-09-25 01:21:13 +0300
commit5cded6d1cab7862a33ed5ee1637065f304119910 (patch)
tree72cbf38f4f7ce65f692020326e39a6f8b2ea0577 /eng/illink.targets
parentf1a7cb3fdd7ffc4ce7d996b7ac6867ffe2c953b9 (diff)
Fix illink invocation inside VS (#42678)
* Fix illink invocation inside VS Fixes https://github.com/dotnet/runtime/issues/42676 * Update illink-sharedframework.targets
Diffstat (limited to 'eng/illink.targets')
-rw-r--r--eng/illink.targets3
1 files changed, 2 insertions, 1 deletions
diff --git a/eng/illink.targets b/eng/illink.targets
index 9449f1b576f..e4cb401e165 100644
--- a/eng/illink.targets
+++ b/eng/illink.targets
@@ -281,7 +281,8 @@
<!-- When running from Desktop MSBuild, DOTNET_HOST_PATH is not set.
In this case, explicitly specify the path to the dotnet host. -->
<PropertyGroup Condition=" '$(DOTNET_HOST_PATH)' == '' ">
- <_DotNetHostDirectory>$(DotNetRoot)</_DotNetHostDirectory>
+ <!-- This is defined when building in Visual Studio. -->
+ <_DotNetHostDirectory>$(NetCoreRoot)</_DotNetHostDirectory>
<_DotNetHostFileName>$([System.IO.Path]::GetFileName('$(DotNetTool)'))</_DotNetHostFileName>
</PropertyGroup>