1.1.16 release and dependency update to System.Text.Json 7.0.3 leads to issues in in-process .NET 6 Azure Functions #424
TobiasHeck
started this conversation in
Show and tell
Replies: 1 comment
-
Sorry about this issue, this is a byproduct of the critical dependencies bot's flagging assemblies as "compromised or unsafe" in some way that require us to move up the min dependencies. While it's not a great comfort to folks who experience this, Moving to discussions as Show and Tell. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions