Skip to content

Commit 552e142

Browse files
committed
Notes on version matching
1 parent d525717 commit 552e142

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Serilog.Extensions.Logging/Serilog.Extensions.Logging.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
<PropertyGroup>
44
<Description>Low-level Serilog provider for Microsoft.Extensions.Logging</Description>
5+
<!-- This must match the major and minor components of the referenced Microsoft.Extensions.Logging package. -->
56
<VersionPrefix>7.0.0</VersionPrefix>
67
<Authors>Microsoft;Serilog Contributors</Authors>
7-
<!-- These must match the Dependencies tab in https://www.nuget.org/packages/microsoft.extensions.logging -->
8+
<!-- These must match the Dependencies tab in https://www.nuget.org/packages/microsoft.extensions.logging at
9+
the target version. -->
810
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net7.0</TargetFrameworks>
911
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1012
<PackageTags>serilog;Microsoft.Extensions.Logging</PackageTags>
@@ -26,6 +28,7 @@
2628
<None Include="..\..\README.md" Pack="true" PackagePath="\" Visible="false" />
2729
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
2830
<PackageReference Include="Serilog" Version="2.12.0" />
31+
<!-- The version of this reference must match the major and minor components of the package version prefix. -->
2932
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
3033
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="All" />
3134
</ItemGroup>

0 commit comments

Comments
 (0)