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 that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.> RegAsm : error RA0000 : Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=...' or one of its dependencies. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)
Lately I upgraded my project to latest .net8. I installed ASP.NET Core Runtime 8.0.1 and .NET Desktop Runtime 8.0.1.
I need to register this DLL in order to use it locally for another product that requires it.
what can I do?