regasm Questions

3

Solved

Recently, I wrote a class library in C# for use in Office applications, including a critical Access application used by ~70 people. For users with admin rights, registering the DLL is trivial, but ...
Lifeanddeath asked 12/5, 2016 at 17:9

12

Solved

When trying to run regasm in Win2008 Server: regasm "C:\Program Files\FooProg\Bar.dll" /tlb:"C:\Program Files\FooProg\Bar.tlb" I get the following error: RegAsm : error RA0000 : An error occu...
Daltondaltonism asked 4/12, 2009 at 15:36

3

Solved

I have a DLL file prepared by C# and my system is Windows 7 64-bit. When i apply the RegAsm its not adding the registry to 64-bit path but only adding it to 32-bit path. "C:\Windows\Microsoft.NET...
Bloodred asked 27/6, 2014 at 12:25

2

Solved

I would like to build COM object in .net Core and then register by RegAsm. My .csproj file: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType&g...
Bipropellant asked 25/7, 2018 at 9:34

3

Solved

In a VC++ project, I am trying to create an instance (via COM) of a C# class contained within a C# project. Facts Both the C# and C++ projects are compiled using .NET 4.0 The C# .dll is being re...
Evette asked 14/3, 2012 at 22:11

1

Solved

I am creating an installer that registers .NET assemblies to COM using regasm. Different clients will have different Microsoft.Net versions installed on their machines. I need to know the regasm lo...
Dentalium asked 23/1, 2018 at 3:17

2

Solved

I want to know if it's possible to register a type library without using the RegAsm tool. Here is my situation, which will hopefully explain why I want to do this: I'm developing an assembly in .N...
Intercession asked 3/3, 2010 at 22:44

2

Solved

I want to register a .net assembly as COM. In fact what that means as far as I know is, that instead of HKEY_CLASSES_ROOT I want the entries to be written in HKEY_CURRENT_USER/Software/Classes, so...
Waggle asked 3/3, 2016 at 20:31

1

Solved

I have a COM-visible DLL written in C# that I would like to use in a VB6 application. I have two main use cases of the DLL and am wondering when the /codebase option is applicable and when it is be...
Architectonics asked 29/5, 2014 at 17:50

2

Solved

A workaround for calling regasm without the admin rights was described here already: COM Interop without regasm I'm trying to create a COM library that my users can deploy and use from Excel VBA ...
Fogbound asked 14/4, 2014 at 15:3

1

Solved

Below, the method i' ve created is working for registering. But i get: "regasm : warning ra0000 : no types were unregistered" for unregistering. private static void ExecuteRegAsm(string comObject...
Dispense asked 12/2, 2014 at 9:14

1

Solved

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, Cul...
Squawk asked 22/11, 2013 at 0:35

1

Solved

This problem has been causing me a headache for a few days, and I cannot find a reason for it. I'm pretty sure this is an environmental issue particular to my machine, but still its causing me prob...
Enrichetta asked 5/3, 2013 at 12:16

1

We have a plugin for IE based on spicIE, the purpose is to connect to some external devices. To connect to those external devices, another company developed their token & DLLs. We need to have...
Doit asked 17/4, 2012 at 8:53

1

Solved

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 Adm...
Earthnut asked 11/4, 2012 at 9:24

1

I have a dll that registers fine using .Net2.0's regasm, but when attempting to register with a .NET4.0 regasm, I get the error "Could not load file or assembly 'FILENAMEHERE' or one of it's depend...
Reisinger asked 2/4, 2012 at 14:0

1

Solved

I am attempting to register a .dll using RegAsm. It is a .NET 2.0 dll. All classes are public and ComVisible is true. I am still getting the RA0000 : No types were registered error. Below is the co...
Tabaret asked 2/4, 2012 at 13:26

1

Solved

I have a C++/CLI assembly (compiled for .NET 3.5 that comes with Windows 7). The assembly is marked as ComVisible(true). It contains 2 classes and 1 interface. Both classes are marked as ComVisible...
Cray asked 8/11, 2011 at 16:48

1

Solved

I created a COM object with C# yesterday which resulted in three files in the bin/release directory of my VS 2010 project (comclass.dll, comclass.pdb and comclass.tlb). Now, when I build the soluti...
Loser asked 11/7, 2011 at 22:25

2

I have a DLL I wrote in C# which I want to use in my VB6 application. In VS2008 the project property "Register for COM interop" is checked, and when I compile the DLL and try to use it on my deve...
Faxen asked 29/6, 2011 at 14:26

3

Solved

If I want to make a .NET assembly usable as a COM server I have to add a set of attributes and then use regasm to register it as a COM server. If the assembly is not signed with a strong name rega...
Isolationism asked 1/2, 2011 at 16:5

1

Solved

One customer wants to consume our .NET DLLs from VB6. They are designed to support reverse interop and all works fine... except: There are two separate VB6 programs in two different directories. It...
Clutch asked 19/5, 2010 at 17:47

1

Solved

I've created a .NET assembly for COM interop and it is working well on my development machine. I'm currently trying to figure out how to deploy the DLL to a target machine using Visual Studio's "Se...
Pinchcock asked 21/6, 2010 at 17:48

1

Solved

When I register my .NET Assembly with regasm.exe the registry key HKEY_CLASSES_ROOT\CLSID{111E32AD-4BF8-495F-AB4D-6C61BD463EA4}\InprocServer32 is set to "mscoree.dll". However, I am trying to m...
Binetta asked 28/5, 2010 at 9:43

2

Solved

I have a .NET DLL (that happens to be written in C++/CLI). Parts of it I want to expose via COM. I do this and register it using "regasm my.dll /codebase". So far so good. But then I change some th...
Internship asked 11/11, 2009 at 22:48

© 2022 - 2025 — McMap. All rights reserved.