# Known Issues with COM Interop/GAC?

**URL:** https://www.finalbuilder.com/forums/t/known-issues-with-com-interop-gac/501
**Category:** Discussion
**Created:** [June 21, 2007, 11:44am UTC](https://www.finalbuilder.com/forums/t/known-issues-with-com-interop-gac/501 "2007-06-21T11:44:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 21, 2007, 11:44am UTC](https://www.finalbuilder.com/forums/t/known-issues-with-com-interop-gac/501/1 "2007-06-21T11:44:12Z")

</div>

&nbsp;

We are a software company with a fairly large vb6 codebase who recently started to migrate to visual studio .net 2005.&nbsp; We are attempting to release the next iteration of our software using several COM interop assemblies written in VB.NET.&nbsp; We have a central build machine which checks out of source control and builds the software nightly.

Although the build seems to run successfully, we are having several application runtime issues.&nbsp; These include: automation errors, more specifically a "cannot find specified file" error.&nbsp;&nbsp;&nbsp;We have&nbsp;found that some of our assemblies have been building with versions we&nbsp;would not expect.

Has anyone had similar behavior when working with COM Interop AND/OR using the Global Assembly Cache.&nbsp;&nbsp; Or is there any way we can see example projects of proper implementation of a COM/GAC setup?&nbsp; Are we approaching this incorrectly.

&nbsp;

We've attached a couple examples of our build scripts for our .NET assemblies.

&nbsp;

Thank you in advance for any help or suggestions.

&nbsp;

Walter L. Diethorn III

Software Developer

Applied Systems Associates, Inc.

&nbsp;

&nbsp;

[aSa.Utilities.fbz4](https://www.finalbuilder.com/forums/uploads/default/original/2X/3/3e22f00839fcbaab01e0faf40c6302029f6553a4.fbz4) (5.923 KB)[aSaFramework.NET.fbz4](https://www.finalbuilder.com/forums/uploads/default/original/2X/1/105b52255c206fac50921e2d91e1cee2a632f093.fbz4) (9.15 KB)[aSaShared.NET.fbz4](https://www.finalbuilder.com/forums/uploads/default/original/2X/7/7f5d09060bb4d7242bee0ab586793ffbc5399bd1.fbz4) (21.041 KB)

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 4, 2007, 9:06am UTC](https://www.finalbuilder.com/forums/t/known-issues-with-com-interop-gac/501/2 "2007-07-04T09:06:29Z")

</div>

Hi Walter,   
  
This doesn't sound like a FinalBuilder issue, although I guess it may be FinalBuilder related.   
  
I actually blogged about something similar yesterday, here: [https://www.finalbuilder.com/blogs.aspx?EntryID=239](https://www.finalbuilder.com/blogs.aspx?EntryID=239)  
  
Basically, you can sometimes see FileNotFoundExceptions when working with assemblies which are only built against a certain architectures. This is because on .NET Framework 2.0 and above, there are actually 4 possible GACs. See the blog post for the details. :-).   
  
Regards,   
  
Angus
