Function startup fails when using System.Memory.Data 6.0.0
See original GitHub issueWhen attempting to start a v4 function app that uses System.Memory.Data 6.0.0, startup fails due to the following error:
[2021-12-14T19:33:56.629Z] A host error has occurred during startup operation 'd5f7db36-8721-4169-9c45-6fc51fc33530'.
[2021-12-14T19:33:56.638Z] App: 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.
Value cannot be null. (Parameter 'provider')
The version of System.Memory.Data delivered in Core Tools 4.10.1 is 1.0.2
. Replacing this DLL with a 6.0.0
version in the Core Tools CLI directory resolves this startup error.
(Replaced %USERPROFILE%\AppData\Local\AzureFunctionsTools\Releases\4.10.1\cli_x64\System.Memory.Data.dll
)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:6
Top Results From Across the Web
Why is an Azure Function on .NET 6 looking for System. ...
When I publish the Azure Function to Azure, I see in Azure Portal a "Functions runtime error" which says: Could not load file...
Read more >Windows 10 .Net 6 or .Net 7 runtime getting error Could not ...
Windows 10 .Net 6 or .Net 7 runtime getting error Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0.
Read more >Troubleshoot .NET Framework targeting errors
This article provides resolutions for MSBuild errors that might occur because of reference issues.
Read more >System.Memory.Data 6.0.0
A lightweight abstraction for a payload of bytes. Provides methods for converting between strings, streams, JSON, and bytes.
Read more >VMware Tanzu Greenplum Command Center v6.0 Documentation
Enable Kerberos for Command Center. 70. Authenticating With Kerberos on the Client Workstation. 70. Monitoring the Greenplum Database System. 71. Dashboard.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Workaround: adding
<_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
to the project file.Is there any update on this? We are experiencing the same issue when trying to make a call to blob storage on functions 4 / .NET 6. The workaround with
_FunctionsSkipCleanOutput
works, but it would be great to not be forced to use some workaround flags.