Search code examples
c#visual-studio-2010compiler-options

How to change Compiler Option in Visual Studio 10?


I tried to run my application and got this problem:

Could not load file or assembly 'Interop.ComUtilitiesLib'

After googling around, I found a way to fix that issue by changing the compiler option.

However, I really don't know how to change the setting of compiler options (in the project properties) to explicitly produce an "x86" (i.e., 32-bit) app.

What I see then view the project's properties were just: " Application, Build, Build Events, Debug, ... etc". Just the Compile Options disappears.


Solution

  • Select Build Menu -> Configuration Manager. On Active Solution Platform -> Select New or Edit.