Azure / Azure/Azure-Functions

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

Open
#1,255 1 comment 0 reactions 1 assignee Claimed by @soninaren View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.