Skip to content

Azure Func running .net 8 break when the func project Microsoft.Extensions.Logging.Abstractions and/or Microsoft.Extensions.Options package is upgraded to 9.x #9670

@tbithell

Description

@tbithell

Not sure if this belongs here or not, but the issue is very strange and this is where I was brought when I looked for Microsoft.Extensions.Logging.Abstractions.

The reason I say it is strange is because the actual error message that we received pointed us to an internal package causing the problem. We downgraded it and it still claimed it was the problem even though that same package version was working in a different environment.

Earlier today I downgraded both of the Extensions packages back to 8.0.2 and the func starts no problem.

I'm also seeing the option to update my Microsoft.AspNetCore.Mvc.Testing package to 9.x, but it helpfully tells me it won't work since it's .net 8 and not .net 9.

Should we just be avoiding 9.x packages or is there an issue with backwards compatibility?

I apologize I can't provide much more details than the above, and for sure can't provide code or csproj files etc. I was just hoping to get some direction.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions