Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ae8597

Browse files
authored
Remove dependence on runfsc.cmd and runfsc.sh (dotnet#5882)
* Remove dependence on runfsc.cmd and runfsc.sh* White space
1 parentf2de3ba commit5ae8597

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

‎src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,10 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
5555
<TailcallsCondition="'$(Tailcalls)' == ''">true</Tailcalls>
5656
</PropertyGroup>
5757

58-
<PropertyGroupCondition=" '$(OS)' != 'Unix' and Exists('$(MSBuildThisFileDirectory)\RunFsc.cmd')" >
59-
<FscToolPathCondition=" '$(FscToolPath)' == ''">$(MSBuildThisFileDirectory)</FscToolPath>
60-
<FscToolExeCondition=" '$(FscToolExe)' == ''">RunFsc.cmd</FscToolExe>
61-
</PropertyGroup>
62-
63-
<PropertyGroupCondition=" '$(OS)' == 'Unix' and Exists('$(MSBuildThisFileDirectory)\RunFsc.sh')" >
64-
<FscToolPathCondition=" '$(FscToolPath)' == ''">$(MSBuildThisFileDirectory)</FscToolPath>
65-
<FscToolExeCondition="'$(OS)' == 'Unix' and '$(FscToolExe)' == ''">RunFsc.sh</FscToolExe>
58+
<PropertyGroupCondition="'$(DOTNET_HOST_PATH)' != ''">
59+
<FscToolPathCondition="'$(FscToolPath)' == ''">$([System.IO.Path]::GetDirectoryName($(DOTNET_HOST_PATH)))</FscToolPath>
60+
<FscToolExeCondition="'$(FscToolExe)' == ''">$([System.IO.Path]::GetFileName($(DOTNET_HOST_PATH)))</FscToolExe>
61+
<DotnetFscCompilerPath>"$(MSBuildThisFileDirectory)fsc.exe"</DotnetFscCompilerPath>
6662
</PropertyGroup>
6763

6864
<ItemGroupCondition="'$(DisableImplicitSystemValueTupleReference)' != 'true'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp