【发布时间】:2016-05-22 21:35:06
【问题描述】:
为什么我无法在经典 .net 类库(.net 框架 4.5.1)中使用名为 net451 的类库定位到 .net core?
编辑: 当我尝试在 .net 框架 4.5.1 的类库项目中添加对 .net 核心项目的引用(下一次为 451)时,出现以下错误。
这是来自 .net 核心项目 Idea7.Entity 的 config.json:
{
"version": "1.0.0-*",
"description": "Idea7.Entity Class Library",
"authors": [ "Sebastian Bušek" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
"frameworks": {
"net451": { },
"dotnet5.4": { }
},
"dependencies": {
"Microsoft.CSharp": "4.0.1-beta-23516"
}
}
【问题讨论】:
-
您能否详细说明会发生什么?你的项目看起来如何?你得到什么错误?
-
更改了标签,因为本次讨论是关于 RC1。用户现在应该升级到 RC2,dot.net