Skip to content

Commit 78de308

Browse files
authored
Fix FSharp.Core reference (#15244)
1 parent d927ddb commit 78de308

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@
3434
<Compile Include="fsiaux.fs" />
3535
</ItemGroup>
3636

37-
<ItemGroup>
38-
<ProjectReference Include="..\FSharp.Core\FSharp.Core.fsproj" />
37+
<ItemGroup Condition="'$(FSHARPCORE_USE_PACKAGE)' != 'true'">
38+
<ProjectReference Include="$(FSharpSourcesRoot)\FSharp.Core\FSharp.Core.fsproj" />
39+
</ItemGroup>
40+
41+
<ItemGroup Condition="'$(FSHARPCORE_USE_PACKAGE)' == 'true'">
42+
<PackageReference Include="FSharp.Core" Version="$(FSharpCoreShippedPackageVersionValue)" />
3943
</ItemGroup>
4044

4145
</Project>

0 commit comments

Comments
 (0)