Skip to content

Commit

Permalink
Build: enable explicit FSharp.Core 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Feb 5, 2024
1 parent 879c299 commit 6bdc0e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="$(MSBuildPRojectExtension) == '.fsproj'">
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
</PropertyGroup>
<ItemGroup Condition="$(MSBuildPRojectExtension) == '.fsproj'">
<PackageReference Include="FSharp.Core" Version="8.0.101" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions Emulsion.sln
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
NuGet.Config = NuGet.Config
Dockerfile = Dockerfile
MAINTAINERSHIP.md = MAINTAINERSHIP.md
Directory.Build.props = Directory.Build.props
EndProjectSection
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Emulsion.Tests", "Emulsion.Tests\Emulsion.Tests.fsproj", "{1B3B65DD-FD58-45FA-B6FF-8532B513A7D9}"
Expand Down

0 comments on commit 6bdc0e0

Please sign in to comment.