Toby D
Toby D

Reputation: 1421

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.

Upvotes: 0

Views: 3330

Answers (2)

Habibillah
Habibillah

Reputation: 28695

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

Upvotes: 1

Jon Skeet
Jon Skeet

Reputation: 1500504

Compiler options are part of the Build page. It sounds like you want to modify the Platform value.

Upvotes: 1

Related Questions