Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / October 2005

Tip: Looking for answers? Try searching our database.

Interop assmblies on different computers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bernd - 14 Aug 2005 13:35 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.