System.ValueTuple pacakge无法从nuget中正确下载. [英] System.ValueTuple pacakge not properly downloaded from nuget.

查看:346
本文介绍了System.ValueTuple pacakge无法从nuget中正确下载.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个解决方案,该解决方案引用了Nuget gallary的 System.ValueTuple 程序包.我正在尝试从多台计算机上构建(还原nuget软件包)此解决方案,但是在某些情况下,它给了我有关此软件包的参考错误 机器,同时在某些机器上工作正常.

I have a solution which is referencing System.ValueTuple package from Nuget gallary. I am trying to build(it restores the nuget packages) this solution from multiple machines, but it is giving me reference error for this package on some machines while working fine on some.

根据我的研究,Nuget正在内部创建不同的命名文件夹 包文件夹中的System.ValueTuple 文件夹.

As per my research, Nuget is creating different named folders inside the System.ValueTuple folder inside packages folder.

对我有用的文件夹- packages \ System.ValueTuple.4.3.0 \ lib \ net45

不适用于我的文件夹- packages \ System.ValueTuple.4.3.0 \ lib \ netstandard1.0

Folder which is not working fine for me - packages\System.ValueTuple.4.3.0\lib\netstandard1.0

这是问题所在,我们实际上一直在寻找解决方案.请提出可能的解决方案.

This is the problem area, we are actually stuck on finding the solution. Please suggest the possible solution.

谢谢

Vinod

推荐答案

嗨Vsibghal7,

Hi Vsibghal7,

谢谢您在这里发布.

在安装System.ValueTuple时,它将为不同的框架版本下载许多版本.它们将保存在其他文件夹中.

When you install System.ValueTuple, it will download many versions for different frame version. They will save in different folder.


从NuGet管理器软件包安装时,无需为项目添加引用.它将自动添加适合项目的版本.

When you install from NuGet manager package, there is no need to add reference for the project. It will add the suitable version for project automatically.

第一个对您有用的文件夹意味着您的项目正在使用.net框架.

The first folder which is working for you means your project is using .net framework.

第二个不适用于您的文件夹意味着它不是适合项目的版本.

The second folder which is not working for you means it is not the suitable version for project.

通过NuGet管理器软件包安装文件夹后,请不要添加文件夹中的引用.安装后一切正常.

Please do not add reference from folder after you install it via NuGet manager package. Everything will be okay after you install it.

最好的问候,

温迪


这篇关于System.ValueTuple pacakge无法从nuget中正确下载.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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