Skip to content

Commit f3000dd

Browse files
committed
Set fsharp.core to explicit minimum versions
1 parent 97d123b commit f3000dd

1 file changed

Lines changed: 69 additions & 61 deletions

File tree

Lines changed: 69 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,69 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
4-
5-
<PackageId>Insurello.RabbitMqClient</PackageId>
6-
<PackageDescription>A specialized F# wrapper around RabbitMq.Client</PackageDescription>
7-
<PackageReadmeFile>README.md</PackageReadmeFile>
8-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
9-
10-
<Authors>Insurello</Authors>
11-
<Company>Insurello</Company>
12-
13-
<RepositoryType>git</RepositoryType>
14-
<RepositoryUrl>https://github.com/insurello/Insurello.RabbitMqClient</RepositoryUrl>
15-
16-
<!-- Source Link configuration -->
17-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
18-
19-
<EmbedSources>true</EmbedSources>
20-
21-
<!-- Embed symbols containing Source Link -->
22-
<DebugType>embedded</DebugType>
23-
24-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
25-
</PropertyGroup>
26-
27-
<ItemGroup>
28-
<!-- PrivateAssets="All" prevents consuming projects of this NuGet package from attempting to install SourceLink. It's only used while building. -->
29-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.202" PrivateAssets="All" />
30-
</ItemGroup>
31-
32-
<PropertyGroup>
33-
<!-- Enable opt-in warnings:
34-
1182 = Unused variables
35-
3389 = Implicit numeric widening
36-
FS3560 = Copy and update changes all fields
37-
-->
38-
<WarnOn>1182,3389,FS3560</WarnOn>
39-
40-
<!-- Set enabled warnings as error during development:
41-
FS0025 = Incomplete pattern matching
42-
-->
43-
<WarningsAsErrors>3389,FS0025</WarningsAsErrors>
44-
</PropertyGroup>
45-
46-
<!-- README file -->
47-
<ItemGroup>
48-
<None Include="../../README.md" Pack="true" PackagePath="." />
49-
</ItemGroup>
50-
51-
<!-- Source files -->
52-
<ItemGroup>
53-
<Compile Include="RabbitMqClient.fs" />
54-
</ItemGroup>
55-
56-
<!-- Dependencies -->
57-
<ItemGroup>
58-
<PackageReference Include="RabbitMq.Client" Version="7.2.1" />
59-
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.7" />
60-
</ItemGroup>
61-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
4+
5+
<PackageId>Insurello.RabbitMqClient</PackageId>
6+
<PackageDescription>A specialized F# wrapper around RabbitMq.Client</PackageDescription>
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
8+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
9+
10+
<Authors>Insurello</Authors>
11+
<Company>Insurello</Company>
12+
13+
<RepositoryType>git</RepositoryType>
14+
<RepositoryUrl>https://github.com/insurello/Insurello.RabbitMqClient</RepositoryUrl>
15+
16+
<!-- Source Link configuration -->
17+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
18+
19+
<EmbedSources>true</EmbedSources>
20+
21+
<!-- Embed symbols containing Source Link -->
22+
<DebugType>embedded</DebugType>
23+
24+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
25+
</PropertyGroup>
26+
27+
<ItemGroup>
28+
<!-- PrivateAssets="All" prevents consuming projects of this NuGet package from attempting to install SourceLink. It's only used while building. -->
29+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.202" PrivateAssets="All" />
30+
</ItemGroup>
31+
32+
<PropertyGroup>
33+
<!-- Enable opt-in warnings:
34+
1182 = Unused variables
35+
3389 = Implicit numeric widening
36+
FS3560 = Copy and update changes all fields
37+
-->
38+
<WarnOn>1182,3389,FS3560</WarnOn>
39+
40+
<!-- Set enabled warnings as error during development:
41+
FS0025 = Incomplete pattern matching
42+
-->
43+
<WarningsAsErrors>3389,FS0025</WarningsAsErrors>
44+
</PropertyGroup>
45+
46+
<!-- README file -->
47+
<ItemGroup>
48+
<None Include="../../README.md" Pack="true" PackagePath="." />
49+
</ItemGroup>
50+
51+
<!-- Source files -->
52+
<ItemGroup>
53+
<Compile Include="RabbitMqClient.fs" />
54+
</ItemGroup>
55+
56+
<!-- Dependencies -->
57+
<ItemGroup>
58+
<PackageReference Include="RabbitMq.Client" Version="7.2.1" />
59+
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.7" />
60+
</ItemGroup>
61+
62+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
63+
<PackageReference Update="FSharp.Core" Version="8.0.100" />
64+
</ItemGroup>
65+
66+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
67+
<PackageReference Update="FSharp.Core" Version="10.0.100" />
68+
</ItemGroup>
69+
</Project>

0 commit comments

Comments
 (0)