Skip to content

Commit 9bf5b86

Browse files
authored
Fix UseLocalCompiler.Directory.Build.props (#17542)
1 parent 82981fb commit 9bf5b86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UseLocalCompiler.Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
1010
<DisableAutoSetFscCompilerPath>true</DisableAutoSetFscCompilerPath>
11+
<FscToolPath Condition="'$(FscToolPath)' == ''">$([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH)))</FscToolPath>
12+
<FscToolExe Condition="'$(FscToolExe)' == ''">$([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH)))</FscToolExe>
1113

1214
<DotnetFscCompilerPath>$(LocalFSharpCompilerPath)/artifacts/bin/fsc/$(LocalFSharpCompilerConfiguration)/net9.0/fsc.dll</DotnetFscCompilerPath>
1315
<Fsc_DotNET_DotnetFscCompilerPath>$(LocalFSharpCompilerPath)/artifacts/bin/fsc/$(LocalFSharpCompilerConfiguration)/net9.0/fsc.dll</Fsc_DotNET_DotnetFscCompilerPath>

0 commit comments

Comments
 (0)