Closed ArshathS closed 6 years ago
Please try uninstalling and installing it again. Let me know if it still doesn't work
@saleem-mirza I have already done that. Please suggest any other options.
Well, that's not good. Try https://www.nuget.org/packages/Serilog.Sinks.AzureDocumentDb/3.8.1-dev-00162
However, I'm not able to reproduce it. Please see attached .net core project. You'll need to restore dependencies.
Hi saleem-mizra
My POC is working as expected but when it comes to my real API project it is not working and giving above error page.
Please find the POC which i'm following. consoleappforserilog.zip
Exception Details : System.BadImageFormatException: Could not load file or assembly 'file:///C:\VSO\API\XXXX.API.REST\bin\DocumentDB.Spatial.Sql.dll' or one of its dependencies. The module was expected to contain an assembly manifest
I have fixed the problem. I reinstalled all the nuget packages and consolidated to the same version. (All existing nuget in my project)
My aim is to Configure Serilog logging. After installing following nuget packages i'm getting an error.
Serilog https://github.com/serilog/serilog Serilog DocumentDB https://github.com/serilog/serilog-sinks-azuredocumentdb The error is attached below
I get this error after installing Serilog.Sinks.AzureDocumentDB.