3层架构不起作用 [英] 3 Tier architecture not working

查看:53
本文介绍了3层架构不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将BLL添加到主项目中是可行的,但是每当构建项目时都会产生错误,例如您缺少参考或使用指令是否有更好的解决方法

adding BLL to Main Project is working But Whenever Building a Project it Gives Error Like are you Missing a refrence or Using Directive is there any Better Solution

推荐答案

有您将引用添加到主项目了吗?那其他项目呢?在不了解或不知道细节的情况下无法回答此问题.
Have you added the references to the main project? What about other projects? Without seeing or knowing the details this question can''t be answered.


请确保:

1.您引用了正确的程序集(dll)
2.您已经从程序集中包含了正确的名称空间(在C#中使用关键字).
3.您使用了正确的Type名称.
Make sure:

1. You have referenced the correct assembly (dll)
2. You have included the right namespaces from the assembly (using keyword in C#).
3. You have used the correct Type names.


已解决.在所有项目中选择相同的目标框架
resolved .select target framework same in all project


这篇关于3层架构不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆