Skip to content

1.1.16 release and dependency update to System.Text.Json 7.0.3 leads to issues in in-process .NET 6 Azure Functions #423

@TobiasHeck

Description

@TobiasHeck

Hi all,

Just leaving this here, in case anyone experiences the same issue.

I recently tried updating the NuGet package to 1.1.16, which now has a dependency on System.Text.Json 7.0.3.
This lead to an Exception in one of our (Durable) Azure Functions:
Exception while executing function: <OurFunctionName> Could not load file or assembly 'System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

For now, my solution was to simply downgrade to 1.1.14.

There are also other solutions, like using _FunctionsSkipCleanOutput or FunctionsPreservedDependencies (see here with a good explanation from Bryan Knox), or even migrating to the isolated worker model, which we most likely want to do in the near future as well.

We are running our Durable Functions using the following settings, etc.
.NET 6
In-Process
Function runtime 4

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