As mentioned in https://learn.microsoft.com/en-us/dotnet/core/native-interop/expose-components-to-com in .NETCore you must use Regsvr32.exe.
How to register class library create with .NET 6.0?
aluzi liu
486
Reputation points
I have a class library project create with .NET framework 4.7, and I use RegAsm.exe to register this library.
Recently I upgrade this project to .NET 6.0, and I can not found .net 6.0 version of "RegAsm.exe", so, what can I do?
2 answers
Sort by: Most helpful
-
-
Tomasz Prusik 0 Reputation points
2023-07-27T08:41:47.32+00:00 @aluzi liu , I got into the same problem, did you manage to fix it with regsvr32 ?