Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
PhilBroderickFS opened this issue Jan 6, 2022 · 2 comments
Labels

Comments

@PhilBroderickFS
Copy link

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?

@seriouz
Copy link

seriouz commented Jan 18, 2022

Yeah i can confirm this problem.

@nblumhardt
Copy link
Member

Fixed in the -dev package now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants