Migrating Azure Function from .NET 6 in-process to .NET 8 in-process Issues
I’m posting this to help anyone who will face this issue.
I’m migrating from .net6 in-process to .net8 in-process and I get this error whenever I try to run it
azure function app Could not load file or assembly ‘System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified.
the fix I found is to add to app settings this line :
“FUNCTIONS_INPROC_NET8_ENABLED” : “1”
I’m posting this to help anyone who will face this issue.I’m migrating from .net6 in-process to .net8 in-process and I get this error whenever I try to run it azure function app Could not load file or assembly ‘System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. the fix I found is to add to app settings this line :”FUNCTIONS_INPROC_NET8_ENABLED” : “1” Read More