在64位操作系统上运行的应用程序值为anycpu 32位值为、应用程序、操作系统、anycpu

2023-09-03 12:14:49 作者:上课瞌睡症下课疯癫症

有没有办法执行的64位Windows环境中运行时值为anycpu下编译为32位应用程序.NET应用程序而无需重新编译为86?

Is there a way to execute a .NET application compiled under AnyCPU as a 32-bit application when running in a 64-bit Windows environment without recompiling as x86?

推荐答案

您可以使用的 corflags 的同位/ 32位+选项。

You can use corflags with the /32bit+ option.