Azure Function App error – System.Private.CoreLib: Could not load file or assembly ‘System.Net.Primitives, Version=8.0.0.0, Culture=neutral
On a newly created consumption tier Azure Function App, when I deploy even a basic Function app created in Visual studio 2022, I get below error message on Function app in Azure portal and I cant call the FA URL.
Azure Function .Net 8.0 Invocation exception
I have azure function deployed on .Net 8.0 and it contains a slightly longer running code than usual of about 3-4 minutes on average. My issue is the code executes completely and stores the data to azure storage which is it’s final step. I can also see in logs the final step which marks “processing ends”. However right after when I am sending HttpResponse with OkObjectResult. I have an error like below.
Azure Function .Net 8.0 Invocation exception
I have azure function deployed on .Net 8.0 and it contains a slightly longer running code than usual of about 3-4 minutes on average. My issue is the code executes completely and stores the data to azure storage which is it’s final step. I can also see in logs the final step which marks “processing ends”. However right after when I am sending HttpResponse with OkObjectResult. I have an error like below.