Error while adding .NET assembly in Outlook 2002 COM Addins

K

kumar

Hi,

From VS.NET, I am creating a assembly thru
Otherprojects\Extensibility Projectcs\Shared Add-in (I am
trying to creating a add-in for Outlook 2002) based on
the msdn example "support.microsoft.com/default.aspx?
kbid=302901".

It is not showing any error. compailed & builed clearly.
Then I try to convert this assembly as a strongly named
one. so I created a Keyfile (sn -k abc.snk). Then add the
file name in the "assemblyinfo.cs" assemblykeyfilename
attribute. saved and compalied the file. it compailed and
rebuild dll clearly.

Then I register this assembly in GAC using gacutil
utility (GACUTIL /i testaddins.dll). It is successfully
registered then I am register the assembly using regasm
(regasm TestAddins.dll). it registered successfully.

At last from Outlook Tools\Options\Other\Advanced
options\COM add-ins I try to add the above dll but it
shows the following error

"<dll path> is not a valid office add-in"

I dont know why? Could you pls. any one give me the
resolution? It my way is correct? or there any other way?

Thanks & regards
kumar
 

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