M
Matthias Langbein
Hi all,
I have problems with the publish of my first Word Add-In (Shared
Add-In):
The Add-In runs on the PC on which I have programmed (with VSTO 2005).
On another PC, on which VSTO 2005 was installed once, the Add-In did
not run until I have added the extensibility.dll to the Setup project.
Now I have testet the Add-In on a third PC, but I can't make it run.
When I start Word, the "LoadBehavior" is set to 2, what means that
there was an error while loading the Add-In.
Though I assume the reason is a wrong/missing DLL?
All used assemblys are either contained in the .NET framework
(Drawing, Forms, XML) or I have added them to the Setup project:
extensibility.dll, Microsoft.Office.Interop.Word.dll,
Microsoft.Vbe.Interob.dll, OFFICE.dll.
Still the Add-In won't run.
Besides, both Office versions are the same (2003).
What might be the reason?
Does it make sense at all to add the extensibility.dll and OFFICE.dll
to the Setup-Projekt? Are the registered automatically with the
installation of the Setup project? Or can the DLLs be accessed without
registration in case they are in the same directory as the assemly of
my Add-In?
There are updates for the .NET framework all the time, and I assume
that this brings new dll versions from time to time. Might one
possibel cause be that the DLLs on the source pc (on which I created
the Add-In) are newer than the DLLs on the target pc (both .NET
framework 2.0)?
What might be other causes, or how can I find out why the Add-In won't
work?
Other tips which I should consider for my first publish?
Thx, cheers Matthias
I have problems with the publish of my first Word Add-In (Shared
Add-In):
The Add-In runs on the PC on which I have programmed (with VSTO 2005).
On another PC, on which VSTO 2005 was installed once, the Add-In did
not run until I have added the extensibility.dll to the Setup project.
Now I have testet the Add-In on a third PC, but I can't make it run.
When I start Word, the "LoadBehavior" is set to 2, what means that
there was an error while loading the Add-In.
Though I assume the reason is a wrong/missing DLL?
All used assemblys are either contained in the .NET framework
(Drawing, Forms, XML) or I have added them to the Setup project:
extensibility.dll, Microsoft.Office.Interop.Word.dll,
Microsoft.Vbe.Interob.dll, OFFICE.dll.
Still the Add-In won't run.
Besides, both Office versions are the same (2003).
What might be the reason?
Does it make sense at all to add the extensibility.dll and OFFICE.dll
to the Setup-Projekt? Are the registered automatically with the
installation of the Setup project? Or can the DLLs be accessed without
registration in case they are in the same directory as the assemly of
my Add-In?
There are updates for the .NET framework all the time, and I assume
that this brings new dll versions from time to time. Might one
possibel cause be that the DLLs on the source pc (on which I created
the Add-In) are newer than the DLLs on the target pc (both .NET
framework 2.0)?
What might be other causes, or how can I find out why the Add-In won't
work?
Other tips which I should consider for my first publish?
Thx, cheers Matthias