[英]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代碼問題中 ,是說它們不支持.Net 3.5,就像您嘗試安裝Jint時所看到的那樣。 建議從CodePrex創建一個fork而不是使用nuget:
請使用CodePlex的Jint v1,或創建一個fork並嘗試進行轉換。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.