From 198b6dac280510fe0ba5db3b4117b1fc3435965c Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Thu, 8 Nov 2018 20:27:57 -0800 Subject: [PATCH 1/2] Remove dependence on runfsc.cmd and runfsc.sh --- .../FSharp.Build/Microsoft.FSharp.NetSdk.props | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props b/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props index 97302e0bc96..0646359172d 100644 --- a/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props +++ b/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props @@ -55,14 +55,10 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and true - - $(MSBuildThisFileDirectory) - RunFsc.cmd - - - - $(MSBuildThisFileDirectory) - RunFsc.sh + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $( [System.IO.Path]::GetFileName($(DOTNET_HOST_PATH)) ) + "$(MSBuildThisFileDirectory)fsc.exe" true - - $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) - $( [System.IO.Path]::GetFileName($(DOTNET_HOST_PATH)) ) + + $([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH))) + $([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH))) "$(MSBuildThisFileDirectory)fsc.exe"