You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My azure function fails at runtime with the following message
Executed 'HttpTrigger' (Failed, Id=d431dc42-3683-407f-9738-7e4b501547b7)
System.Private.CoreLib: Exception while executing function: HttpTrigger.<ProjectName>: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621). System.Private.CoreLib: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'.
Reproduced by
Create a new project for an azure function
Under dependencies, update Microsoft.NET.Sdk.Functions from 1.0.13 to 1.0.14
Press play and curl to the HttpTrigger
Observe that without updating the dependency from 1.0.13 (which uses an old Newtonsoft.Json), it works fine--although this dependency blocks many useful libraries due to incompatibility.
I have also added <PackageReference Include="Newtonsoft.Json" Version="11.0.2" /> and this does not resolve this problem.
Here is a 2 minute recording demonstrating a new project from scratch, which uses 1.0.13 (and works), and then does not work after merely updating. https://youtu.be/v4DuNIA8dG4
The text was updated successfully, but these errors were encountered:
My azure function fails at runtime with the following message
Reproduced by
Microsoft.NET.Sdk.Functions
from 1.0.13 to 1.0.14Observe that without updating the dependency from 1.0.13 (which uses an old Newtonsoft.Json), it works fine--although this dependency blocks many useful libraries due to incompatibility.
I have also added
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
and this does not resolve this problem.Here is a 2 minute recording demonstrating a new project from scratch, which uses 1.0.13 (and works), and then does not work after merely updating.
https://youtu.be/v4DuNIA8dG4
The text was updated successfully, but these errors were encountered: