I can use the following command on a .net 4.8 built DLL without error.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm /codebase TLC.System.Logger.dll /tlb:TLC.System.Logger.tlb
but soon as i use command on a .net 6.0 built DLL i get the following error:
RegAsm : error RA0000 : Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
There doesn't seem to be a regasm.exe equivalent on .net 6.0 runtime or sdk.
Is there a certain way of doing this on .net 6.0?