0

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.

Oded
  • 489,969
  • 99
  • 883
  • 1,009
Toby D
  • 1,465
  • 1
  • 19
  • 31

2 Answers2

1

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

Jon Skeet
  • 1,421,763
  • 867
  • 9,128
  • 9,194
  • hi, thank for your help. Now I'm able to change the target platform to x86 CPU but the issue with "Could not load file or assembly 'Interop.ComUtilitiesLib'" still persists. Do you have any idea how can I fix that issue!? – Toby D Oct 22 '12 at 10:18
  • @MyticMoon: No, but I know nothing about that assembly. I was only answering the question asked... – Jon Skeet Oct 22 '12 at 10:22
1

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

Stephane Rolland
  • 38,876
  • 35
  • 121
  • 169
Habibillah
  • 27,347
  • 5
  • 36
  • 56