Excel 2003 automation add-in Extensibility.dll deployment

A

Andrew Wiles

Hi

I have an automation add-in built using the IDTExtensibility2 interface.
When working with Office 2007 this addin installs and registers without
problems.

With Office 2003 the installation fails - RegAsm returns a message:

RegAsm : error RA0000 : Could not load file or assembly 'Extensibility,
Version=7.0.3300.0, Culture=nuetral, PublicKeyToken=b03f57f11d50a3a' or one
of its dependencies. Strong name validation failed. (Exceptio from HRESULT:
0x8013141A)

My understanding is that the Office 2007 Primary Interop installation
installs Extensibility.dll is in the GAC but that the Office 2003 PIA package
does not.

I have tried simply copying the Extensibility.dll to the install folder for
my project and this does not help.

What is the correct procedure for ensuring that the pre-requisites for an
automation add-in using IDTExtensibility2 are installed for Office 2003?

Thanks for any help
 
A

Andrew Wiles

Peter

It is a COM automation add-in using IDTExtensibility2 as the interface. I
know that some of the technology is shared with VSTO but I thought this was a
different class of application (Tell me if I'm wrong!)
 
P

Peter T

AFAIK all "Com" addins use the IDTExtensibility2 interface. But what
language and application was the addin written in.

Regards,
Peter T
 
A

Andrew Wiles

C#

Peter T said:
AFAIK all "Com" addins use the IDTExtensibility2 interface. But what
language and application was the addin written in.

Regards,
Peter T
 
P

Peter T

I don't know C# but I believe you would have had to set a reference to
Office and Excel as you would in say VB6. If you compiled the addin with
those ref's set to Office & Excel 2007 try setting them to 2003.

Of course you'll need to do that in a system that has Office 2003 (2000/2
might also be OK).

Regards,
Peter T
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top