project.json中的'dependencies'和'framework dependencies'有什么区别?
What is the difference between 'dependencies' and 'framework dependencies' in project.json?
在 dependencies
或 framework dependencies
中加载包有什么区别?
而且...现在可能只使用 dnxcore50 吗? (asp.net 5 beta6)
依赖关系:
{
"description": "Lib",
"version": "1.0.0-*",
"dependencies": {
"EntityFramework.SqlServer": "7.0.0-beta6"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
}
}
框架依赖:
{
"description": "Lib",
"version": "1.0.0-*",
"dependencies": {
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"EntityFramework.SqlServer": "7.0.0-beta6"
}
}
}
}
dependencies
适用于 frameworks
下列出的所有框架。 dependencies
在那个特定框架的特定框架下。这意味着您可以为 framework X 拉取 dependency A 但不能为 framework Z 拉取 dependency A .
在 dependencies
或 framework dependencies
中加载包有什么区别?
而且...现在可能只使用 dnxcore50 吗? (asp.net 5 beta6)
依赖关系:
{
"description": "Lib",
"version": "1.0.0-*",
"dependencies": {
"EntityFramework.SqlServer": "7.0.0-beta6"
},
"frameworks": {
"dnx451": { },
"dnxcore50": { }
}
}
}
框架依赖:
{
"description": "Lib",
"version": "1.0.0-*",
"dependencies": {
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"EntityFramework.SqlServer": "7.0.0-beta6"
}
}
}
}
dependencies
适用于 frameworks
下列出的所有框架。 dependencies
在那个特定框架的特定框架下。这意味着您可以为 framework X 拉取 dependency A 但不能为 framework Z 拉取 dependency A .