我试图dnu install
Microsoft.CodeAnalysis.CSharp.Scripting 1.1.1
但它失败了
错误:FindPackagesById:Microsoft.CodeAnalysis.CSharp.Scripting
响应状态代码不表示成功:404(未找到)
使用project.json文件执行dnu restore
包含其依赖项列表中的相同包可正常工作:
{
"version": "1.0.0-*",
"description": "ScriptSharp.ScriptEngine Class Library",
"frameworks": {
"dotnet5.4": {
"dependencies": {
"Microsoft.CSharp": "4.0.1-beta-23516",
"System.Collections": "4.0.11-beta-23516",
"System.Linq": "4.0.1-beta-23516",
"System.Runtime": "4.0.21-beta-23516",
"System.Threading": "4.0.11-beta-23516"
}
}
},
"dependencies": {
"Microsoft.CodeAnalysis.CSharp.Scripting": "1.1.1"
}
}
这是使用的Feed列表:
https://www.nuget.org/api/v2/
https://www.myget.org/F/roslyn-nightly/
https://www.myget.org/F/aspnetvnext/api/v2
https://www.myget.org/F/dotnet-corefx/
我做错了什么?
答案 0 :(得分:0)
安装CoreCLR 1.0运行时后,它工作正常:
dnvm install -r coreclr -arch x86 latest -u