Nuget 无法安装包 Jint

Nuget could not install package Jint

我正在尝试从 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 code issues 中说他们不支持 .Net 3.5,就像您在尝试安装 Jint 时所支持的那样。建议从 CodePrex 创建一个分支而不是使用 nuget:

Please use Jint v1 from CodePlex, or create a fork and try to do the conversion.