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

Serilog dependencies broken again #282

Open
southernskip opened this issue Jan 12, 2023 · 1 comment
Open

Serilog dependencies broken again #282

southernskip opened this issue Jan 12, 2023 · 1 comment

Comments

@southernskip
Copy link

southernskip commented Jan 12, 2023

DLL hell again.

[MissingMethodException: Method not found: 'Serilog.LoggerConfiguration Serilog.FileLoggerConfigurationExtensions.File(Serilog.Configuration.LoggerSinkConfiguration, System.String, Serilog.Events.LogEventLevel, System.String, System.IFormatProvider, System.Nullable1<Int64>, Serilog.Core.LoggingLevelSwitch, Boolean, Boolean, System.Nullable1<System.TimeSpan>, Serilog.RollingInterval, Boolean, System.Nullable1<Int32>, System.Text.Encoding, Serilog.Sinks.File.FileLifecycleHooks)'.] Intuit.Ipp.OAuth2PlatformClient.Diagnostics.OAuthAdvancedLogging..ctor(Boolean enableSerilogRequestResponseLoggingForDebug, Boolean enableSerilogRequestResponseLoggingForTrace, Boolean enableSerilogRequestResponseLoggingForConsole, Boolean enableSerilogRequestResponseLoggingForFile, String serviceRequestLoggingLocationForFile) in C:\Users\nshrivastava\Documents\GitHub\QuickBooks-V3-DotNET-SDK\IPPDotNetDevKitCSV3\Code\Intuit.Ipp.OAuth2PlatformClient.Diagnostics\OAuthAdvancedLogging.cs:238 Intuit.Ipp.OAuth2PlatformClient.OAuth2Client.GetAuthorizationURL(List1 scopes)

Please remove ALL Serilog dependencies so I can add a custom ILogger with whatever logging framework (including latest Serilog) I want. Or can we at least branch a version which doesn't use them.

Using:
IppDotNetSdkForQuickBooksAPIV3 - 14.6.3.2

Installed the latest versions of Serilog
Assembly - Recommended - Installed
Serilog >=2.10.0 - 2.12.0
Serilog.Enrichers.Environment >= 2.1.3 - 2.2.0
Serilog.Enrichers.Thread >= 3.1.0 - 3.1.0
Serilog.Extensions.Logging >= 3.0.1 - 3.1.0
Serilog.Settings.Configuration >=3.1.0 - 3.4.0
Serilog.Sinks.Console >= 3.1.1 - 4.1.0
Serilog.Sinks.Debug >= 2.0.0 - 2.0.0
Serilog.Sinks.File >= 4.1.0 - 5.0.0
Serilog.Sinks.Trace >= 2.1.0 - 3.0.0
SerilogTraceListener >= 3.2.0 - 3.2.0

Will have to downgrade everything. I thought I may have been able to downgrade Serilog.Sinks.File back to 4.1.0 but this is not enough

@steveschmitt
Copy link

I have a workaround for Serilog described here: #315 (comment)

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

No branches or pull requests

2 participants