Nuget无法安装Jint包
本文关键字:Jint 安装 Nuget | 更新日期: 2023-09-27 17:54:04
我试图从Nuget安装Jint,但它失败了,无论我选择什么。net版本(理想情况下我的目标是4.5)
PM> Install-Package Jint
Successfully installed 'Jint 2.8'.
Successfully uninstalled 'Jint 2.8'.
Install failed. Rolling back...
Install-Package : Could not install package 'Jint 2.8'. You are trying to install this package into a project that targets '.NETFramework,Version=v3.5,Profile=Client',
but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.
At line:1 char:16
+ Install-Package <<<< Jint
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
在Jint代码问题中,它说他们不支持。net 3.5,就像你试图安装Jint时看到的那样。这里建议从CodePrex创建一个分支,而不是使用nuget:
请使用CodePlex中的Jint v1,或者创建一个分支并尝试进行转换。