Questions tagged [regasm]

Regasm is an Assembly Registration tool that reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.

Regasm is an Assembly Registration tool that reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.

235 questions
4
votes
2 answers

Regasm - Unable to locate input assembly

I wrote a .NET assembly and registered it successfully in my local machine using Regasm but when I try to do that in the target server, I am getting the following error. Regasm :error RA0000 : Unable to locate input assembly "full dll path" or one…
Srinivasan
  • 49
  • 1
  • 1
  • 2
4
votes
1 answer

Several short questions about COM .net assemblies, regasm, dll, tlb and guids

All question are related to a .net project dll in .net framework 2.0 that exposes itself as COM. 1) If we don't specify any GUIDs in the source code (typelib, classes, interfaces) who is generating the GUIDs? The compiler or regasm? 2) The GUIDs…
Eduard
  • 664
  • 2
  • 14
  • 26
4
votes
1 answer

Using a .NET-2.0-targeted COM DLL in the GAC on a .NET-4-only system

Greetings again, Following up my previous question, I'm trying to maximize the compatibility of my C#-written Windows Explorer extension. In particular, I'm interested in making sure it works in an environment in which .NET 4 is installed and .NET…
Paul Accisano
  • 1,416
  • 1
  • 14
  • 25
4
votes
1 answer

RegAsm for Class Library Used in VB6 Application

To be short and to the point, I've built a C# class library that is both COM-Visible and Registered for COM Interop. I've compiled the library, which resulted in the generation of .dll and .tlb files. I have another machine that's running a VB6…
user284654
4
votes
1 answer

RegAsm error RA0000 Could not load file or assembly on Network Drive

I experience a problem using a batch file to call Regasm on framework 4 on a network drive. It works correctly when the dll is on a local drive. The message is Could not load file or assembly filename.dll or one of its dependencies. Operation is not…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
4
votes
1 answer

RegAsm failing for a .NET 4.0 assembly using Microsoft.Bcl.Async

RegAsm failing for a .NET 4.0 assembly using Microsoft.Bcl.Async with the following message: RegAsm : error RA0000 : Could not load file or assembly 'System.Threading.Tasks, Version=1.5.11.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one…
avo
  • 10,101
  • 13
  • 53
  • 81
4
votes
1 answer

Registering a winform usercontrol as a COM server

I am trying to register a winform user control as a COM Server so my MFC applications can use them. The winform control is written in C++/CLI and uses an unmanaged native dll. I want to make use of .net's terrific Interop services to register this…
rptony
  • 1,024
  • 1
  • 12
  • 22
4
votes
1 answer

regasm DLL Locations

I'm constructing new classes in Visual Studio. These ultimately produce DLL files which are automatically registered via the VS IDE. These same DLLs (and only the DLLs no TLBs) are shipped to the client where they are registered via the REGASM…
user1480025
  • 51
  • 1
  • 3
4
votes
1 answer

Why does Regasm put ProgId into HKEY_CURRENT_USER?

I have two Virtual Machines that I wish to (Wix) install my software onto. One is Windows XP SP2 and another is Windows XP SP1. Neither of them use domains, and both of them have the local user Administrator with admin privileges. Running RegAsm.exe…
user545680
3
votes
1 answer

Is this a possible approach to register .NET types for COM

I have a .NET assembly and use regasm.exe to register for COM. The tlb is used by users to write code in VBA in Excel. I did a regasm /regfile and I see that all registry entries are fallin in to 'HKEY_CLASSES_ROOT\'. I have an admin constraint…
Everything Matters
  • 2,672
  • 4
  • 25
  • 42
3
votes
1 answer

How to deploy a .dll file using Visual Studio 2008?

I am creating an installer with VS 2008 containing a desktop application and a BHO plugin which is created as a Class Library project. Manually ,I can register myPlugin.dll using this command [regasm /codebase "myPlugin.dll" register] ,but I do…
Tady
  • 161
  • 2
  • 9
3
votes
1 answer

Excel DNA - Can I avoid doing a regasm all together?

I am trying to evaluate Excel DNA to use it in one of my excel add-in. I use C# functions (.NET 4.0) and want to invoke these functions from Excel. The reason I am interested is, the users of my addin are non-admins and hence would be a…
Everything Matters
  • 2,672
  • 4
  • 25
  • 42
3
votes
1 answer

In VB6 application, CreateObject for a c# dll fails with "ActiveX component can't create object" in IDE only

I have C# assembly that I need to use in VB6. I've had this working on previous machines/OS, but on my current Windows 10 machine I can't get it to work when debugging in VB6/VS6 IDE. Whenever, I hit the line: Set interop =…
Terry
  • 2,148
  • 2
  • 32
  • 53
3
votes
1 answer

.NET 0x80040154 (REGDB_E_CLASSNOTREG): Retrieving the COM class factory for component with CLSID {XXXX}

I´m trying to run COM.Scanner project but the follow exception is thrown: Retrieving the COM class factory for component with CLSID {9F8D4F16-0F61-4A38-98B3-1F6F80F11C87} failed due to the following error: 80040154 Class not registered (Exception…
Jose Rodriguez
  • 9,753
  • 13
  • 36
  • 52
3
votes
0 answers

Register Assembly programmatically

I am trying to register a dll, that extends my contextmenu, programmatically. If I am using the commandline and call regasm.exe everything works fine - my shell extension is visible in the contextmenu. If I am using the following code,…
Stefan K
  • 31
  • 1
  • 3
1 2
3
15 16