How do I determine if a .NET application is 32 or 64 bit?

后端 未结 7 1132
天涯浪人
天涯浪人 2021-01-30 20:33

I have a .NET application that was supposed to be compiled as a 32-bit only application. I suspect my build server isn\'t actually doing it.

How do I determine if a .NE

7条回答
  •  野性不改
    2021-01-30 21:28

    The quickest way is probably that it'll have an asterisk (*) after its name in task manager when run on a 64 bit machine. The asterisk means it's running in syswow64, ergo it's marked 32 bit.

    The other way is to run corflags.exe against it and this will display the answer you're after. This comes with the .NET SDK.

提交回复
热议问题