如何覆盖依赖的组件

发布于 2025-01-26 02:20:50 字数 371 浏览 4 评论 0原文

我有一个具有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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

记忆之渊 2025-02-02 02:20:50

根据您的描述,您可以尝试以这种方式更改同一解决方案中不同项目中的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.
enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文