asp.net 核心 3.1 - 在同一解决方案中将 class 库的引用添加到 Web 应用程序
asp.net core 3.1 - Add reference from class library to web application in the same solution
我有一个 asp.net 核心 3.1 解决方案,包含 Web 应用程序项目和另外 2 个 class 库项目。
files architecture
我正在尝试使用 Ctrl+“.”将一个 class 库项目的引用添加到另一个库项目,但在 IntelliSense.
- 没有 IntelliSense 如何进行引用? (手动添加
using CoronaPatients.Core
也不起作用)。
- 如何从 IntelliSense 启用它?
好吧,我刚刚发现 右键单击项目 -> 添加 -> 项目参考... 选项,然后 选中 您要引用的项目。
但是,为什么它不在 IntelliSense 中?
我有一个 asp.net 核心 3.1 解决方案,包含 Web 应用程序项目和另外 2 个 class 库项目。 files architecture
我正在尝试使用 Ctrl+“.”将一个 class 库项目的引用添加到另一个库项目,但在 IntelliSense.
- 没有 IntelliSense 如何进行引用? (手动添加
using CoronaPatients.Core
也不起作用)。 - 如何从 IntelliSense 启用它?
好吧,我刚刚发现 右键单击项目 -> 添加 -> 项目参考... 选项,然后 选中 您要引用的项目。 但是,为什么它不在 IntelliSense 中?