Hi,
I am developing COM addins for Word and Excel. To work with these office
applications my project has references to the corresponding COM objects
(Microsoft Word 11.0 Object Library, for instance).
Recently I started using a second computer for development. After having
copied my project from computer A to B, Visual Studio on B told me that
it couldn't find some interop assemblies. I could follow this, since the
project folders on A and B are distinct.
When checking locations of the interop assemblies, it turned out that
they were in the GAC on A, but on B they were in local project folders.
Now my questions:
a) why are interop assemblies in the GAC on A, whilst they are in local
project folders on B?
b) How can I develop on differnet computers without updating references
each time I have copied my project from A to B or vice versa?
(please note: having identical root paths on A and B is not the solution
I am looking for).
Thanx for your answers
Kind regards
Bernd
Dirk Behnke - 16 Aug 2005 13:03 GMT
> Hi,
>
[quoted text clipped - 22 lines]
> Kind regards
> Bernd
Did you ever try to create your own interop assemblies (using tlbimp)
that you could copy in your project path?
I'm not sure whether that helps because the original COM libraries might
be in different pathes and I never checked if that screws this method.
Regards
Dirk
Bernd - 16 Aug 2005 20:05 GMT
Thanx Dirk,
I'll give it a try.
Bernd
Dirk Behnke schrieb:
>> Hi,
>>
[quoted text clipped - 30 lines]
> Regards
> Dirk
Xenthian - 05 Oct 2005 07:43 GMT
Hello Bernd. Please let me know if you found the solution on this issue. I'm
trying also to run an application that uses Microsoft.Office.Interop.Word on
a machine that does not have Office installed. I created the setup. Did not
work. I added the assembly to Gac with Gacutil. Did not work. Let me know if
you find a solution. I tried the tblimp tool but I was not able to create the
metadata from those. Maybe I'm doing something wrong.
Thank you,
> Thanx Dirk,
>
[quoted text clipped - 37 lines]
> > Regards
> > Dirk