From 733e7be0167a8b923cb752b4e421640d6c0e4bd2 Mon Sep 17 00:00:00 2001 From: Enrico Sada Date: Thu, 23 Feb 2017 23:50:43 +0100 Subject: [PATCH] locate dotnet with MSBuildSDKsPath property fix https://github.com/dotnet/netcorecli-fsc/issues/75 --- src/FSharp.NET.Sdk/build/FSharp.NET.Core.Sdk.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharp.NET.Sdk/build/FSharp.NET.Core.Sdk.targets b/src/FSharp.NET.Sdk/build/FSharp.NET.Core.Sdk.targets index b8c48f6..39a6e65 100644 --- a/src/FSharp.NET.Sdk/build/FSharp.NET.Core.Sdk.targets +++ b/src/FSharp.NET.Sdk/build/FSharp.NET.Core.Sdk.targets @@ -151,7 +151,7 @@ this file. so i need to specify the full path. --> <_DotNetHostExecutableName>dotnet <_DotNetHostExecutableName Condition=" '$(OS)' == 'Windows_NT' ">$(_DotNetHostExecutableName).exe - <_DotNetHostExecutableDirectory>$(MSBuildExtensionsPath)/../.. + <_DotNetHostExecutableDirectory>$(MSBuildSDKsPath)/../../.. <_DotNetHostExecutablePath>$(_DotNetHostExecutableDirectory)/$(_DotNetHostExecutableName)