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

标签:The system cannot find the file specified

【已解决】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...

75 queries in 0.175 seconds, using 19.90MB memory