尝试使用dnx451构建.xproj作为框架在本地工作正常,但在Visual Studio在线版本上没有。
日志:
Microsoft .NET Development Utility Clr-x86-1.0.0-rc1-16231
Building DnxLibTests for DNX,Version=v4.5.1
Using Project dependency DnxLibTests 1.0.0
Source: C:\a\1\s\DnxLibTests\project.json
Unable to resolve dependency Microsoft.Dnx.Compilation.Abstractions 1.0.0-rc1-final
project.json
{
"version": "1.0.0-*",
"description": "DnxLibTests Class Library",
"authors": [ "" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.dnx": "2.1.0-rc1-build204"
},
"commands": {
"test": "xunit.runner.dnx"
},
"frameworks": {
"dnx451": { }
}
}