发布测试应用程序后,我尝试运行我的应用程序
bash-3.2 $ dotnet bin / Debug / netcoreapp1.0 / publish / testapp.dll
并获得下一个错误:
错误:找不到依赖项清单中指定的程序集 - 包:' System.Buffers',版本:' 4.0.0-rc2-24027',路径:' lib / netstandard1.1 / System.Buffers.dll&# 39;
环境:.net core rc2
project.json:
{
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-3002702"
},
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final"
},
"frameworks": {
"netcoreapp1.0": {
"imports": "dnxcore50"
}
}
}