Coder Social home page Coder Social logo

Comments (2)

damieng avatar damieng commented on July 19, 2024

Hi Frederico.

Are you seeing the error in MeasurementConfiguration or in the AppDataContractSerializer? These are both parts of the AutoMeasurement class which is designed to be as hands-off as possible but are quite prescriptive. They use GetExecutingAssembly to:

a. Identify the app version number automatically in MeasurementConfiguration
b. Identify the app company automatically in AppDataContractSerializer so it knows where to store state

Given you are calling this from a com-visible DLL I suspect AutoMeasurement is not a good match but the good news is that all the building blocks AutoMeasurement uses are also available to you and it shouldn't take much effort to configure them in a way that works best for your scenario.

You'll need to create a new version of AppDataContractSerializer that is specifically told where to save configuration but everything else should be reusable.

[)amien

from csharpanalytics.

fredericosilva avatar fredericosilva commented on July 19, 2024

Hi Damien,

The error is in AppDataContractSerializer. I've change it to use GetExecutingAssembly and it's working fine so far. Would you like a PR testing the "nullability" of the GetEntryAssembly and using GetExecutingAssembly in this cases?

Thank you :)

from csharpanalytics.

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.