Compiling with 32-bit flag
Posted: November 5th, 2013, 5:53 pm
Is there a way to setup Visual Studio to mark the assembly as requiring 32-bit without having to run a separate command? When I compile the project DEBUG it is fine, but as RELEASE I get a message saying:
I used corflags to mark it, but that seems like the Tool should have a way to do this but I cannot figure out how.
Unhandled Exception: PHP.Core.PhpNetInternalException: Guarded call
InnerException: Native extension support is not available in 64-bit processes.
Please run this process on 32-bit OS or mark it as X86 using 'corflags.exe'.
I used corflags to mark it, but that seems like the Tool should have a way to do this but I cannot figure out how.