You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been bitten twice by this: #225 (comment)
I agree with the suggestion in #221 that removing references to Serilog entirely is a good direction for a library project to take.
In the meantime, some of the developer pain could be avoided by declaring a version range in the Nuget package.
Instead of
<PackageReference Include = "Serilog.Sinks.Console"Version="3.1.1" /> <!-- Supports any version 3.1.1 or higher -->
I suggest
<PackageReference Include = "Serilog.Sinks.Console"Version="[3.1.*,4)" /> <!-- Supports 3.1.0 or higher, but not 4.x -->
The text was updated successfully, but these errors were encountered:
nbarbettini
changed the title
Use version range for Serilog dependency
Use version range for Serilog dependencies
Sep 15, 2022
I've been bitten twice by this: #225 (comment)
I agree with the suggestion in #221 that removing references to Serilog entirely is a good direction for a library project to take.
In the meantime, some of the developer pain could be avoided by declaring a version range in the Nuget package.
Instead of
I suggest
The text was updated successfully, but these errors were encountered: