Skip to content

Fix serilog update - #1443

Merged
JoeRobich merged 3 commits into
OmniSharp:masterfrom
manandre:fix-serilog-update
Feb 4, 2025
Merged

JoeRobich merged 3 commits into
OmniSharp:masterfrom
manandre:fix-serilog-update

Conversation

@manandre

@manandre manandre commented Feb 1, 2025

Copy link
Copy Markdown
Contributor

Fixes #1410

Comment thread Directory.Packages.props
<PackageVersion Include="Microsoft.Extensions.Options" Version="8.0.2" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.1" />

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build logs contain new scary warnings:

warning : Microsoft.Extensions.Logging 9.0.1 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.

Should we remove the support of the net6.0 TFM as it is officially EOL (see https://versionsof.net/core/6.0/)?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Microsoft.Extensions.Logging package does include .netstandard builds which should be fine. I imagine warnings like this are useful to push people to upgrade.

Should we remove the support of the net6.0 TFM as it is officially EOL (see https://versionsof.net/core/6.0/)?

I think we should. I need to make progress on OmniSharp/omnisharp-roslyn#2647 which would free O# to move to .net8.0 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mysterious We forgot to label this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants