asp.net mvc一个项目为什么不能引用另一个项目的model

图片如上所述,using最后一行,Model引用不过来,是在当前AiDiSystem.Logistics.Customer项目下面引用,那个Model是放在AiDiSystem.Logistics项目下面,在解决方案里结构如下

检查OverBuyProduct的命名空间是不是 AiDiSystem.Logistics.Model追问

写的没错

,是不是一个项目不能引用另一个项目里的model,只能引用公用的文件夹里面的model

追答

你是不是没有添加引用啊,查看AiDiSystem.Logistics.Customer的reference有没有AiDiSystem.Logistics

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答
大家正在搜