我在我的解决方案中有两个项目:MyApp.Domain 和 MyApp.WebService。MyApp.WebService 是一个 WCF 服务库。
我想使用一些来自 MyApp.Domain 的实用函数。因此,在 MyApp.WebService 中,我添加了对 MyApp.Domain 的引用。
智能感知很好地识别了我需要调用的函数。但是当我构建解决方案时,出现以下错误: The type or namespace name 'Domain' does not exist in the namespace 'MyApp' (are you missing an assembly reference?) 位于
我想使用一些来自 MyApp.Domain 的实用函数。因此,在 MyApp.WebService 中,我添加了对 MyApp.Domain 的引用。
智能感知很好地识别了我需要调用的函数。但是当我构建解决方案时,出现以下错误: The type or namespace name 'Domain' does not exist in the namespace 'MyApp' (are you missing an assembly reference?) 位于
using MyApp.Domain.Utility;
这里出了什么问题?