Nuget试图在某些软件包上安装大量依赖项

乔伊·零

我正在运行Visual Studio 2017,而我的解决方案中的所有项目都运行.NET 4.6.2。我的解决方案混合了MVC项目和共享类库。在某些增加了对.NET Core支持的nuget程序包上,当我更新到最新版本时,它希望我安装20多个与.NET Core和.NET Standard有关的其他程序包。我一直在避免安装这些较新的版本,因为似乎我不需要所有这些软件包。我似乎只在4或5个包装上有这个问题。

有什么办法吗?

Nuget软件包更新对话框

刘o

看来人们在nuget中的包装方式可能存在问题。

Yes, you are right. This issue is related to the author who packing the NuGet package. I have ever reported the similar issue on GitHub.

For the package MailChimp.Net.V3, there is a reported issue about installing wrong dependencies: Tons of new dependencies when updating to v3 on .net 4.6.2. This issue has been fixed at the version 3.1.1-alpha.

The package of Mandrill, this package has a dependency NETStandard.Library (>= 1.6.1), so it is correct to install tons of .NET shandard dependencies.

The package of MiniProfiler, which including a dependency of MiniProfiler.Shared (>= 4.0.0-alpha9-00206). This latest version of dependency package should be incorrect, it will install tons of .NET shandard dependencies. To resolve this issue, please install the previous version: MiniProfiler 4.0.0-alpha9-00202:

在此处输入图片说明

Hope this helps.

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

无法安装nuget软件包;DNXCore依赖项混淆

沙箱中的Cabal配置在已安装的软件包上抱怨“至少缺少以下依赖项”

百胜试图安装软件包加依赖项-我不希望该依赖项

Debian软件包,安装依赖项

如何将硬件依赖项放在.deb软件包上?

自动构建NuGet软件包,包括引用的依赖项

如何在Inno Setup安装程序中捆绑来自NuGet软件包的仅运行时依赖项?

Composer 不会安装软件包依赖项

Composer不会安装私有软件包依赖项

安装特定版本的setuptools作为软件包的依赖项

在Atom中安装软件包依赖项

为dpkg软件包安装依赖项?

安装带有依赖项的go软件包

如何仅安装软件包的依赖项?

pip不安装我的软件包依赖项

如何从Packagist安装Satis软件包依赖项

易于安装比指定为依赖项更多的软件包

安装无依赖项的npm软件包

自动安装软件包/依赖项以安装任意软件包?

deb软件包可以包含PPA依赖项并从PPA安装软件包吗?

`go get`失败,在某些go软件包上权限被拒绝

在软件包上自动删除并安装循环

NuGet:明确列出软件包依赖项作为项目中的软件包引用,以便可以将其卸载

如何列出所有在Terminal中安装为依赖项的软件包,以及安装了哪些软件包?

如何在不安装软件包本身的情况下安装rpm软件包的依赖项?(rhel / fedora)

为什么在安装wine时apt-get试图删除某些软件包?

我的NuGet软件包在使用它作为依赖项的项目中似乎没有更新

是否可以在不安装依赖项的情况下安装软件包?

安装R软件包时,需要时自动重新安装依赖项