如何覆盖依赖的组件
我有一个具有nuget软件包 microsoft.azure.datalake.datalake.store 它具有newtonsoft.json(> = 6.0.8)的依赖组装,
我想使用newtonsoft.json版本13.0.0
class class class库没有配置 - 我需要在引用类LIB的每个项目中添加绑定重定向吗?
谢谢,彼得
I have a class library ( .net framework 4.7.2) that has a nuget package Microsoft.Azure.DataLake.Store which has a dependent assembly of Newtonsoft.Json (>= 6.0.8)
I want to use Newtonsoft.Json version 13.0.1
Class library does not have a config - Do I need to add a binding redirect to every project that references the class Lib?
Thanks, Peter
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您的描述,您可以尝试以这种方式更改同一解决方案中不同项目中的Nuget软件包的版本。
您可以通过右键单击解决方案并选择“解决方案的Nuget软件包”来更新它,并选择要安装的软件包,版本和项目。
此方法可以用来升级microsoft.azure.datalake.store依赖的newtonsoft.json的版本。

According to your description, you can try this way to change the version of nuget packages in different projects in the same solution.
You can update it by right clicking on the solution and selecting Manage NuGet Packages for Solution and selecting the packages and version and projects to install.
This method can use to upgrade the version of Newtonsoft.Json that Microsoft.Azure.DataLake.Store depends on.
