Home > Net >  VS2013 compiled EXE in other computer operation error.
VS2013 compiled EXE in other computer operation error.

Time:11-07

Problem description:
I use VS2013 wrote a program in c # language, the compilation of the generated EXE on my computer (WIN10, 64) to be able to run normally, but in another computer error (7, 64),
Error message "unable to load the C: \ \ \ XXXX, XXXX, XXX, XXX, XXX zhiyuanCAN \ ControlCAN DLL", while ControlCAN. DLL file I have indeed put in the exe directory, its associated file directory path are all correct,

The project configuration:
Project - property - generated - set the target platform to X64, other are by default,

Searched many posts on the Internet at present, a lot of situations are EXE run on another computer times wrong DLL is system, this is not the same with me, and some said that the lack of 2010 runtime, installed on the Windows 7 computer vcredist_msvc2010_x64. EXE after also not line,

Hope leaders can help me to analysis analysis,

CodePudding user response:

Will pack contains need release,

CodePudding user response:

reference 1/f, the wise know already should good karma response:
will pack contains need release,


I did not use the packaging operations, but the exe files and configuration files, and use the DLL files in a directory, then compressed into a bag, with U disk kao from one computer to another, to hear you say so, so unable to load ControlCan. The reason for a DLL that another computer is missing something, I now the idea is to find the missing things and then add in the past, the feasible? If possible, the lack of things how to locate? (the current error only unable to load the DLL)

CodePudding user response:

Depends on the.net framework version, the version of win10 high can be compatible with low version
Windows 7 maybe didn't install.net framework
  •  Tags:  
  • C#
  • Related