Skip to content

Commit a7bf2cb

Browse files
authored
Allow Fornax.Core to use FSharp.Core 6.0.7 or newer (#129)
instead of pinning it to the version needed by the FCS build used in the CLI tool
1 parent a824000 commit a7bf2cb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Directory.Packages.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
<RestorePackagesWithLockFile>false</RestorePackagesWithLockFile>
55
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
6+
<!-- Fornax.Core doesn't use FCS, so we don't need to pin FSharp.Core to a matching version -->
7+
<FornaxCoreFSharpCoreVersion>6.0.7</FornaxCoreFSharpCoreVersion>
68
</PropertyGroup>
79
<ItemGroup>
810
<PackageVersion Include="FSharp.Core" Version="[8.0.100]" />

src/Fornax.Core/Fornax.Core.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
<Compile Include="Model.fs" />
1010
</ItemGroup>
1111
<ItemGroup>
12-
<PackageReference Include="FSharp.Core" />
12+
<PackageReference Include="FSharp.Core" VersionOverride="$(FornaxCoreFSharpCoreVersion)" />
1313
</ItemGroup>
1414
</Project>

0 commit comments

Comments
 (0)