GithubHelp home page GithubHelp logo

Comments (7)

github-actions avatar github-actions commented on July 30, 2024

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @trrwilson.

from azure-sdk-for-net.

github-actions avatar github-actions commented on July 30, 2024

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cijothomas @rajkumar-rangaraj @reyang @TimothyMothra @vishweshbankwar.

from azure-sdk-for-net.

github-actions avatar github-actions commented on July 30, 2024

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzmonActionG @azmonALERTS @AzMonEssential @AzmonLogA @dadunl @sameergMS.

from azure-sdk-for-net.

TimothyMothra avatar TimothyMothra commented on July 30, 2024

Hi @TaoChenOSU, we (Azure.Monitor.OpenTelemetry.AspNetCore) don't own the ValidateOnStart method.
I did a quick search and found this issue: dotnet/runtime#95524
Can you please check if this solution helps you?

from azure-sdk-for-net.

TaoChenOSU avatar TaoChenOSU commented on July 30, 2024

Hi @TimothyMothra, thanks for your quick reply!

I am sure Azure.Monitor.OpenTelemetry.AspNetCore doesn't own the ValidateOnStart method. The weird thing is once I install the package, it creates the error.

I have tried to manually install the latest version of the Microsoft.Extensions.DependencyInjection package. Unfortunately, it didn't help.

from azure-sdk-for-net.

CodeBlanch avatar CodeBlanch commented on July 30, 2024

@TaoChenOSU

Here is the PR which introduced the issues: dotnet/runtime#88546

OptionsBuilderExtensions was moved from Microsoft.Extensions.Hosting into Microsoft.Extensions.Options. If you have a newer Microsoft.Extensions.Options and an older Microsoft.Extensions.Hosting you will run into this issue. Try doing this...

<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.0" />

Does that make the issue go away?

from azure-sdk-for-net.

TaoChenOSU avatar TaoChenOSU commented on July 30, 2024

Hi @CodeBlanch,

That worked! Thank you so much!

from azure-sdk-for-net.

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.