关于安装nuget包的建议 [英] Suggestion on installing nuget package
问题描述
我正在尝试安装一个nuget软件包,它是在更高版本的4.0 .Net框架上构建的。
I am trying to install a nuget package which is build up on higher version then 4.0 .Net framework.
但我现有的解决方案是在3.5 .Net框架版本上构建的。
But My existing solution is build up on 3.5 .Net framework version.
当我尝试将nuget软件包安装到我的解决方案中时,我得到以下错误。
When i am trying to install nuget package into my solution i get below error.
严重性 代码
说明 项目
文件 行
抑制状态
错误 无法安装包'Iit .Symantec.Communication 2.1.3'。您正在尝试将此软件包安装到以".NETFramework,Version = v3.5"为目标的项目中,但该软件包不包含任何程序集引用
或与该框架兼容的内容文件。有关详细信息,请与软件包作者联系。
0
Severity Code
Description Project
File Line
Suppression State
Error Could not install package 'Iit.Symantec.Communication 2.1.3'. You are trying to install this package into a project that targets '.NETFramework,Version=v3.5', but the package does not contain any assembly references
or content files that are compatible with that framework. For more information, contact the package author.
0
任何人都可以就此提出建议。
CAn anyone please suggest something on this.
/ Sanjay
推荐答案
joshi sanjay,
Hi joshi sanjay,
谢谢在这里发布。
根据错误消息,您应该使用更高版本然后4.0 .Net框架来安装此软件包。此软件包与.net framework 3.5不兼容
According to the error message, you should use higher version then 4.0 .Net framework to install this package. This package is not compatible with .net framework 3.5
最好的问候,
Wendy
这篇关于关于安装nuget包的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!