-
Notifications
You must be signed in to change notification settings - Fork 147
Description
Please clearly describe what the SQL Sink is doing incorrectly:
Updating from version 6.5.0 to version 6.5.1 adds an unexpected dependency on the Microsoft.WindowsDesktop.App Runtime.
Deploying the application to the server after upgrading the version causes the application to fail to start. Some digging revealed that the failure is due to a missing runtime. My testing seems to indicate that it is this specific version bump that added this dependency.
Please clearly describe the expected behaviour:
Version 6.5.1 can run successfully using only the Microsoft.AspNetCore.App and Microsoft.NETCore.App runtimes.
Failing that, if this runtime dependency is required, a note in the release notes/readme to warn others that this is now a dependency that they will need to manually install on their hosting environment if they have not already.
List the names and versions of all Serilog packages used in the project:
- Serilog.Sinks.MSSqlServer
- Serilog.Settings.Configuration
- Serilog.AspNetCore
Target framework and operating system:
.NET 8
Windows Server 2012
Author's note:
This is not a critical issue as I can work around it by installing the runtime or not upgrading the version (though there are transitive vulnerabilities with this option). I am mostly posting this to help others more quickly diagnose this issue if they run into the same situation.
Reducing dependencies is a nice-to-have as well.