More Descriptive Error Message - Platform Version discrepancy
When an exception is thrown based on incorrect platform version please provide more descriptive error messages. The error message received was:
'Could not load file or assembly 'Microsoft.PrivacyServices.CommandFeed.Client, Version=18.104.22.168, Culture=neutral, PublicKeyToken=74a17481026a49c7'. Could not find or load a specific file.'
A message indicating could not load foo.dll, found 64-bit version. App is 32-bit would be very helpful in determining resolution.
We have work underway and shipping soon to better surface host errors in the portal. Some of this is rolling out this month. We will only be able to bubble up errors as descriptive as the libraries expose, but at least then working to bubble up.
Michelle Haffner (Tek Experts) commented
When an exception is thrown based on incompatible runtime versions please provide more descriptive error messages. The error message received was the generic 'internal server error'. A message indicating conflicting versions of dotnet runtime in Azure Config and a function being deployed would be more descriptive.