1

I am creating 2 plugins as 32 bit and 64 bit. How can I find out how many bits a vsto plugin has.

2 Answers2

0

You can find it in : [Your Project Name] settings -> build -> plateform target (x86 | x64 | Any CPU)

GL

Pepe
  • 1
0

If you are trying to determine the bitness of your code at run-time, use IntPtr.Size - 4 in x86 and 8 in x64.

Since Outlook loads your addin, its bitness will always be determined by the bitness of the parent process (outlook.exe). Unless there is a very particular reason to compile your code as x86 or x64, compile it as "Any CPU" - both 32 and 64 bit versions of Outlook will be able to load it.

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78