For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > June 2005 > Registering project output for COM Interop... (VS.Net 2003)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Registering project output for COM Interop... (VS.Net 2003)
Dan Bass

2005-01-20, 8:58 am

One day, out of the blue, anything COM interop related stopped building.
When building any project (VB / C#) that has a COM interop interface (my own
home grown projects, or a Visual Studio .Net Add-in), I get the following
error:

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...
Registering project output for COM Interop...
COM Interop registration failed. Type library exporter can not load required
library MSCOREE.TLB.


I've done some digging around and tried the following:
- My assembly path is nothing special to cause problems
(@"C:\Projects\prototypes\Tools\")
- I've tried registering everything MSC*.TLB (with regtlib.exe) and MSC*.DLL
(regsvr32.exe or regasm.exe)
- Finally as a last resort, I reinstalled (full uninstall, then install) the
..Net framework, and the .Net SDK (didn't touch VS.Net though)

None of this worked. Any ideas?

Thanks.


biolog

2005-05-10, 9:15 pm

quote:
Originally posted by Dan Bass
One day, out of the blue, anything COM interop related stopped building.
When building any project (VB / C#) that has a COM interop interface (my own
home grown projects, or a Visual Studio .Net Add-in), I get the following
error:

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...
Registering project output for COM Interop...
COM Interop registration failed. Type library exporter can not load required
library MSCOREE.TLB.


I've done some digging around and tried the following:
- My assembly path is nothing special to cause problems
(@"C:\Projects\prototypes\Tools\")
- I've tried registering everything MSC*.TLB (with regtlib.exe) and MSC*.DLL
(regsvr32.exe or regasm.exe)
- Finally as a last resort, I reinstalled (full uninstall, then install) the
...Net framework, and the .Net SDK (didn't touch VS.Net though)

None of this worked. Any ideas?

Thanks.

biolog

2005-05-10, 9:17 pm

Dan and others,

A few months later, I find myself in the same boat. Same code runs fine on other machines.

Any resolution?
Jonsson

2005-05-19, 4:44 am

quote:
Originally posted by biolog
Dan and others,

A few months later, I find myself in the same boat. Same code runs fine on other machines.

Any resolution?



I need a solution as well! Anyone aware of a such? Please share it with the world!
Thanks!
Brian

2005-06-03, 8:58 pm


I've found that clearing out the registry as per this link makes this
work.

http://www.eggheadcafe.com/ng/micro...ost21367365.asp

Just make sure you know which version of the 2.0 framework you need to
clear out of the register.

Good luck,

Brian


Jonsson wrote:
> biolog wrote:
>
> I need a solution as well! Anyone aware of a such? Please share it with
> the world!
> Thanks!
>
>
>
> --
> Jonsson
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com