Skip to content

Commit

Permalink
#183 Manually added stuff from the PR @bartelink
Browse files Browse the repository at this point in the history
  • Loading branch information
SchlenkR committed Mar 5, 2024
1 parent 9bd8b2c commit e215088
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<PackageReleaseNotes>
14.4.2
- Pinned FSharp.Core to 5.0.2 in all library projects
- Thanks @bartelink: Pinned FSharp.Core to 5.0.2 in all library projects

14.4.1
- Fixed missing explicit dependency on FSharp.Core
Expand Down
14 changes: 11 additions & 3 deletions src/FsHttp/FsHttp.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,17 @@
<None Include="..\..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<!--
We require F# Core >= 5 due to string interpolation.
AND: We have this in all library projects; NOT in the test projects.
<!--
- Intentionally depend on a minimal version of FSharp.Core as the package previously did prior to V13
see https://github.com/fsprojects/FsHttp/issues/183
- Releases 13-14.4.0 did not include a nuspec declaration of their dependency on FSharp.Core V8.0.100,
so tools like Paket will gravitate toward those broken versions if we make the version constraint more restrictive
- We require F# Core >= 5 due to string interpolation.
- We have this in all library projects; NOT in the test projects.
(https://fsharp.github.io/fsharp-compiler-docs/fsharp-core-notes.html#Package-authors-should-pin-their-FSharp-Core-reference)
- ExcludeAssets is a workaround for malformed FSharp.Core packages https://github.com/dotnet/fsharp/issues/12706 via https://github.com/fsprojects/Paket/issues/4149
Removal triggers issues in dotnet publish, e.g. for Lambda projects
Also avoids Rider search finding stuff in FSharp.Core.xml
-->
<PackageReference Include="FSharp.Core" Version="5.0.2" />
</ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Test.CSharp/Test.CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 0 additions & 3 deletions src/Tests/Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<OutputType>Library</OutputType>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
Expand Down

0 comments on commit e215088

Please sign in to comment.