I’m developing a C# application on my development PC which runs 32 bit windows. The application has a main exe part and several alternative dll’s. The specific appropriate dll is loaded based on a configuration file during run time using Assembly.LoadFile. My builds output code to “Any CPU”.
I noticed that the code runs much much slower on a target 64 bit machine than on my development machine, and I believe the difference is in the dynamic load – which is near instant in the development machine and takes something like 20 seconds on the 64 machine (during the 20 seconds the task manager shows that the application takes 100% CPU).
I tried building the dll’s as x64 but got no improvement.
What could be the problem?
View Complete Post