Skip to content

MessageQueue exeption when debugging in VS2017 after update Newtonsoft.Json from 10.0.3 => 11.0.2  #1255

Description

@matsla

Azure Function V1 project in C# Windows 10

Update Newtonsoft.Json from 10.0.3 => 11.0.2 using VS2017 with latest version and latest version of Azure Functions and Web Jobs Tools

Azure devtool debug output from Visual Studio 2017

Starting Host (HostId=laptopd6m4287v-603730156, Version=1.0.12491.0, InstanceId=6b6721f0-e5c0-47bf-b4db-535e0515fbfb,
ProcessId=3616, AppDomainId=1, Debug=False, ConsecutiveErrors=0, StartupCount=1, FunctionsExtensionVersion=)

Read From Message Queue:

[6/21/2019 7:35:18 AM] A ScriptHost error has occurred
[6/21/2019 7:35:18 AM] mscorlib: Exception while executing function: MessageQueue. XXXX.AzureFunctions: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
[6/21/2019 7:35:18 AM] Executed 'MessageQueue' (Failed, Id=66a012bd-47e5-4456-aa39-9980b5c29ba1)

When refernce Newtonsoft.Json 10.0.3 everything works fine, any ideas how to get Newtonsoft.Json 11.0.2 working when debugging message queues?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions