C# Could not load file or assembly 'DAL' or one of its dependencies.

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/TGBTrial/article/details/91608955

1.Could not load file or assembly ‘DAL’ or one of its dependencies. The system cannot find the file specified.
在这里插入图片描述
原因:引起这个错误的原因是要引用的文件找不到了。
解决方案:将需要引用的文件拷贝到相应的文件夹下,像我这个在U层需要引用D层的文件,按理说是引用了的,但是U层的Debug里却没有D层的文件,so拷贝一下喽。

猜你喜欢

转载自blog.csdn.net/TGBTrial/article/details/91608955