Skip to main content

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
0 votes
0 answers
44 views

Can't registering a custom .net8 dll in Windows10 - Could not load file or assembly 'system.runtime, Version=8.0.0.0 ... .Net8 installed

I wrote a custom dll targeting Windows10 & up, yet, no matter the method I use to register it (via the command line or via PowerShell), I get the same error message: From Regasm.exe: C:\...
MC9000's user avatar
  • 2,300
0 votes
1 answer
109 views

Registering a COM Interop DLL > Class not registered

I am familiar with the process of how to register a COM Interop. Eg: As long as I am running Visual Studio using Administrator elevation this C# COM DLL will compile and register for interop. The TLB ...
Andrew Truckle's user avatar
1 vote
0 answers
346 views

RegAsm : error RA0000 : Could not load file or assembly 'System.Runtime, Version=6.0.0.0' .... The system cannot find the file specified

I have two dll's that I need to register to enable an API for a third party software I use. This software was recently updated and when I installed the new version and needed to unregister the old dll'...
user2731076's user avatar
0 votes
1 answer
700 views

Receiving an error while try to register DLL with RegAsm.exe: "Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral ,..."

I try to register DLL with RegAsm.exe but I receive this error: RegAsm : warning RA0000 : Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications ...
Shemesh's user avatar
  • 59
0 votes
1 answer
408 views

problems registering and using a DLL assembly

I use Visual Studio 2015 community on my Win 10 dev machine. I built a DLL and registered it for COM interop. In the same solution I have a test console application which I use to test/ debug the DLL. ...
paul K's user avatar
  • 13
0 votes
0 answers
80 views

How to deploy COM-object with VS2022 installer project?

For installation I need operation regasm /codebase X.dll but there are a couple problem, usually nobody understanding folder with regasm and secondary - how to add this command to installer project....
Ev1337's user avatar
  • 1
0 votes
0 answers
222 views

regasm on a .net framework library now wants netstandard 2.1.0.0

I have a .net framework 4.8 library I have been working on for months in VS19. The project is configured to "Register for COM interop" (which runs regasm.exe on the dll). Recently (in last ...
John Freebs's user avatar
0 votes
1 answer
316 views

Registering .net assembly for COM succeeds with regasm but fails using RegistrationServices.RegisterAssembly

This is one of the strangest issue I have encountered. There is a .net assembly, which is exposed to COM. If you register it with regasm /codebase my.dll - it is sucessfully registered, and can be ...
Zoli's user avatar
  • 870
2 votes
1 answer
158 views

Does GAC conflict with the Registry for Assembly Loading?

I have a DLL I generate from a C# project. I then register it via regasm so that the library can be used inside several legacy VB scripts. Recently I created a new project (C# console app) that will ...
Antidiscrete's user avatar
0 votes
2 answers
268 views

Windows Script Host cannot reference type library with version number in hexadecimal notation

I have .NET framework assembly which is exposed to COM. Recently, since the assembly minor version number reach 10, it stopped being usable from Windows Script Host (WSH). [assembly: AssemblyVersion(&...
Martin Prikryl's user avatar
1 vote
1 answer
505 views

RegAsm - completely unregistering library (including typelib) for 32b and 64b COM

I have a .NET assembly that should be registered both for 32b and 64b COM interop. Our installation script successfully registers this and everything works as expected. We want our UNinstallation ...
Francois Botha's user avatar
2 votes
1 answer
44 views

Share registered .NET assembly between two applications installed with Inno Setup

I have application A. In the [Run] section I have two entries: Filename: "{dotnet40}\regasm.exe"; \ Parameters: "MSAToolsLibrary_x86.dll /codebase"; \ WorkingDir: "{...
Andrew Truckle's user avatar
1 vote
1 answer
283 views

VS Code - How can I produce a strongly named assembly?

I have a class library I use for an assembly. It is comprised of three classes - classes A and B provide supporting types and methods for class C. After an assembly is built from that library, I need ...
Antidiscrete's user avatar
0 votes
0 answers
402 views

VS 2019, VB, Class Library, getting error "Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral" during RegAsm

It's my 1st time trying to build a .DLL in .Net, for use with a VB5 program...I'm a newbee Windows 10, VS 2019, VB, building a Class Library Target framework is .NET Core 3.1. RestSharp 106.15.0 in ...
RichG's user avatar
  • 1
0 votes
0 answers
216 views

Error querying COM interfaces - class not registered

I try to register a COM component in new Windows Server 2012 R2 with REGASM and don't get any errors. However, the COM class doesn't get registered. Regasm result On my developer computer, this class ...
user avatar

15 30 50 per page
1
2 3 4 5
16