How to fix the error - Could not load file or assembly 'System.Memory.Data, Version, under the Azure Durable function
I'm building a Azure Durable function with Python framework in my local VS Code. While I'm running the function in the visual studio, I'm getting the below error.
The listener for function 'Functions.orchestrator' was unable to start. Azure.Core: Could not load file or assembly 'System.Memory.Data, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
I'm using the Azurite for the local storage and the services are also listening under the below ports.
Hi All,
Please find the below host.json and localsettings.json
host.json
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
``` }
}
local settings.json
{
"IsEncrypted": false,
"Values": {
```yaml
"AzureWebJobsStorage": "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;",
"FUNCTIONS_WORKER_RUNTIME": "python",
"DurableFunctionsHubName": "MyDurableFunctionsHub"
``` }
}
Could some one help me in resolving the above error.
Azure Functions
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more