Why is an 'Any CPU' application running as x86 on a x64 machine?

 

It's likely that you linked some assemblies that are not Any CPU, but include native code (or are compiled as x86), which cause the entire process to fall back to x86.

To understand how your assemblies are compiled, a related Stack Overflow question that might help is How to determine if a .NET assembly was built for x86 or x64?*.

Note: the location of the executable on the file system does not matter at all.

原文地址:https://www.cnblogs.com/chucklu/p/10020235.html