更新时间:2022-12-12 22:27:39
Project -> Project Dependencies 仅用于描述额外的非链接相关的依赖项.为非托管代码使用指定链接依赖:
Project -> Project Dependencies is only for describing additional non-link related dependencies. To specify a link dependency for unmanaged code use:
Project -> Properties -> Common Properties -> Framework and References -> References -> Add New Reference... -> Projects
Project -> Properties -> Common Properties -> Framework and References -> References -> Add New Reference... -> Projects
和托管代码使用:
项目 -> 添加引用 -> 项目
Project -> Add Reference -> Projects
如果设置正确,Visual Studio 应该能够找到项目间引用.
If this is set up correctly Visual Studio should be able to find inter-project references.