无法在3层Winforms C#应用程序中加载文件或程序集异常

问题描述 投票:0回答:1

i创建一个3层winforms c#应用程序。层名称为BLogic,DAccess和Presentation。但是,当我要在调试目录中运行该应用程序时,该应用程序将引发异常,并显示以下消息:Could not load file or assembly 'BLogic, Version=1.0.0.0. Culture=neutral, PublicKeyToken=null' or one of its dependencies. the system cannot find the file specified.我该如何解决这个问题???

i创建一个3层winforms c#应用程序。层名称为BLogic,DAccess和Presentation。但是,当我想在调试目录中运行该应用程序时,该应用程序将引发异常,并带有...

c# winforms exception 3-tier
1个回答
0
投票

#1删除解决方案中每个bin&obj文件夹中的所有文件,然后尝试再次运行。

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.