最新消息:20210917 已从crifan.com换到crifan.org

标签:Unhandled exception has occurred in your application

【已解决】C#编译出来的程序运行出错:Unhandled exception has occurred in your application。System.IO.FileNotFoundException: Could not load file or assembly xxx or one of its dependencies. The system cannot find the file specified.
C#

【已解决】C#编译出来的程序运行出错:Unhandled exception has occurred in your application。System.IO.FileNotFoundException: Could not load file or assembly xxx or one of its dependencies. The system cannot find the file specified.

crifan 12年前 (2012-09-27) 11009浏览 0评论

【问题】 之前折腾C#项目中,将dll集成到exe中,后来使用的办法是,不使用资源文件,不适用动态reflection代码,直接拷贝dll到项目文件夹内,然后添加引用该dll文件。 结果生成的exe运行出错:   错误内容: Unhand...

72 queries in 0.170 seconds, using 19.83MB memory