Re: Create a COM Object with C#?

From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 02/23/05


Date: Thu, 24 Feb 2005 00:24:48 +0100


>gets this error message during the VB compile:
>
> "Run-time error 80070002. File or assembly name CSharpServer, or one of
>its dependencies was not found."
>
>Surely I am almost there. What's the last step?

The assembly must be located in a place where the runtime can find it.
In practice this means either install it into the GAC, in the native
application directory (the VB directory while running in the VB6 IDE)
or be registered with Regasm's /codebase switch.

Mattias

-- 
Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Relevant Pages

  • Re: C++/TCL Need Solution to Compile Error c2784
    ... jnior_300.h"}" and created other errors where it didn't even compile. ... Error Message: ... Which appears to be an error because it depending on the SDK dll ... DLL properties to see dependencies and where the dependencies should ...
    (comp.lang.tcl)
  • could not load assemly
    ... I am getting this error message when I compile and run my application: ... "Could not load file or assembly 'Microsoft.Web.UI.WebControls' or one ... of its dependencies. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: LNK4003: invalid library format -- why?
    ... > I'm trying to compile and link a simple program which uses a third ... > party DLL. ... When I try to link I get the error message ... Jeff Partch [VC++ MVP] ...
    (microsoft.public.vc.language)
  • Re: dependency scanner
    ... Ivy gave us a leg up on analyzing dependencies. ... Historically, this is done with configure, though ant ... packages that won't compile need to be skipped. ...
    (comp.lang.java.programmer)
  • Re: [SLE] Please! I could use some help!
    ... I don't know what SuSE distribution you are running -- I came in late on ... "NULL" error message ... to ensure he was getting a working installation. ... and do some simple compile development exercises until you gain the ...
    (SuSE)

Quantcast