Tag Archives: System. Yeah. FileNotFoundException

[Solved] Run Error without DevExpress installed: system IO. FileNotFoundException exception, error module name: kernelbase.dll

Resolution process:


1: Because all referenced DLLs are not copied locally, all referenced DLLs have been checked to ensure that they are included in the input directory. The operation fails and the error content is the same
2: if the reason for x86 or x64 editing is not specified, x86 and x64 versions are generated respectively. The operation fails and the error content is the same
3: after installing the devaxpress control on the test computer, it runs normally.

Solution:


The reason is that the DLL is not copied completely. Open your VS project. There is a DevExpress Assembly Deployment Tool menu in the “Tools” of the menu bar. With this tool, you can export the DEV-related dlls used in the current project.

There is a special note. If you use the icons in Dev, please put DevExpress.Images.v{version number}.dll in your project.