Newtonsoft.Json和Extensions.Configuration依赖关系 [英] Newtonsoft.Json and Extensions.Configuration Dependency

查看:92
本文介绍了Newtonsoft.Json和Extensions.Configuration依赖关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经失去了太多生命,试图弄清这一点.我以为可能与绑定重定向有关,但这似乎并不能解决我的问题,我也尝试过手动匹配所有软件包/依赖项.

I've lost too much of my life trying to figure this one out. I thought maybe it was to do with Binding Redirects, but that doesn't seem to solve my issue and I've tried to match all the packages / dependencies manually as well.

我还有另一个项目,该项目依赖于该库,一切似乎都可以正常工作.

I have another project which depends on this library which all seems to work okay. 

我的想法是,这与Newtonsoft.Json和Extensions.Configuration有关,它们在.net core中不起作用.我尝试降级,因为这将Newtonsoft.Json依赖关系降低到10.0.0.3,但没有成功.

My thinking is that it is something to do with Newtonsoft.Json and Extensions.Configuration which doesn't work in .net core. I've tried downgrading as this drops the Newtonsoft.Json dependency down to 10.0.0.3 but without success.

任何建议/指针都值得赞赏.

Any suggestions / pointers much appreciated.


推荐答案

能否告诉我们您正在使用哪个版本的Azure函数? (确切的版本会很棒,看起来您正在主要版本2上运行.)

Could you tell us what version of Azure Functions you're using? (Exact version would be great, it looks like you're running on major version 2).

您的失败看起来像是在加载.NET Core 2.1.1依赖项时失败,因此我们希望确保您使用的是最新版本.

Your failure looks like a failure in loading a .NET Core 2.1.1 dependency, so we want to make sure you're on the very latest.


这篇关于Newtonsoft.Json和Extensions.Configuration依赖关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆