Coder Social home page Coder Social logo

Getting “The module was expected to contain an assembly manifest.” when configuring Serilog logging in my API project about serilog-sinks-azuredocumentdb HOT 7 CLOSED

serilog-archive avatar serilog-archive commented on August 11, 2024
Getting “The module was expected to contain an assembly manifest.” when configuring Serilog logging in my API project

from serilog-sinks-azuredocumentdb.

Comments (7)

ArshathS avatar ArshathS commented on August 11, 2024 1

I have fixed the problem. I reinstalled all the nuget packages and consolidated to the same version. (All existing nuget in my project)

from serilog-sinks-azuredocumentdb.

saleem-mirza avatar saleem-mirza commented on August 11, 2024

Please try uninstalling and installing it again. Let me know if it still doesn't work

from serilog-sinks-azuredocumentdb.

ArshathS avatar ArshathS commented on August 11, 2024

@saleem-mirza I have already done that. Please suggest any other options.

from serilog-sinks-azuredocumentdb.

saleem-mirza avatar saleem-mirza commented on August 11, 2024

Well, that's not good. Try https://www.nuget.org/packages/Serilog.Sinks.AzureDocumentDb/3.8.1-dev-00162

from serilog-sinks-azuredocumentdb.

saleem-mirza avatar saleem-mirza commented on August 11, 2024

However, I'm not able to reproduce it. Please see attached .net core project. You'll need to restore dependencies.

cs_demo.zip

from serilog-sinks-azuredocumentdb.

ArshathS avatar ArshathS commented on August 11, 2024

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

from serilog-sinks-azuredocumentdb.

ArshathS avatar ArshathS commented on August 11, 2024

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

from serilog-sinks-azuredocumentdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.