Skip to content

Unable to publish .NET 6 console application due to package downgradeΒ #279

@PhilBroderickFS

Description

@PhilBroderickFS

Description
When trying to publish a .NET 6 console application as a self-contained app, using the latest dev version of Serilog.AspNetCore, I receive errors due to package downgrades

image

Reproduction
Add Serilog.AspNetCore package and try to publish a .NET 6 Console application, using dotnet publish -c Release -r win-x64

Expected behavior
Expected the application to be published with no errors.

Relevant package, tooling and runtime versions
Using Serilog.AspNetCore v4.1.1-dev-00241.

Additional context
If I explicitly added Serilog.Settings.Configuration v3.3.0, I was able to successfully publish my console application. From the screenshot above, the package downgrade stems from an older version of Serilog.Settings.Configuration, so does this package need updated for the 'main' Serilog.AspNetCore package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions