如何在 asp net core 项目中添加对 class 库项目的引用
How to add reference of class library project in asp net core project
我已经创建了 asp 网络核心项目。
如何在项目中添加 class 库以及在何处添加对它的引用。
下面是附图中的项目一瞥
enter image description here
您可以像这样添加 class 库引用-
"frameworks": {
"net461": {
"dependencies": {
"ClassLibrary1": {
"target": "project"
}
}
}
}
看看这是否有帮助。
我已经创建了 asp 网络核心项目。 如何在项目中添加 class 库以及在何处添加对它的引用。
下面是附图中的项目一瞥
enter image description here
您可以像这样添加 class 库引用-
"frameworks": {
"net461": {
"dependencies": {
"ClassLibrary1": {
"target": "project"
}
}
}
}
看看这是否有帮助。