This project has moved. For the latest updates, please go here.

Issue with reference to OfficeApi.Dll

Oct 16, 2014 at 5:18 PM
Hi Sebastian,

How are you?

I'm having the following issue. I have an office and an outlook addins. I started both from the examples i downloaded from here.

Now, i want to delopy both addins in a same folder. The problem is that each one has a reference to a different officeapi.dll file. If i reference both projects to the dll in the office example i get an error message:
Error 1 The type 'NetOffice.Tools.IDTExtensibility2' is defined in an assembly that is not referenced. You must add a reference to assembly 'NetOffice, Version=1.6.0.0, Culture=neutral, PublicKeyToken=297f57b43ae7c1de'.

If i reference both to the dll in outlook example i get the same error, with a defferent PublicKeyToken.

How can i use the same officeApi.dll for both?

thanks very much,

Ehud.