I'm building a .NET 6.0 application that needs to use CORBA and IIOP to communicate with a remote server.
To achieve this, i'm using IIOP.NET, which depends on the deprecated Remoting API, and because of that i'm getting this exception when initializing the library:
System.TypeLoadException: 'Could not load type 'System.Runtime.Remoting.Channels.IChannelSender' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'
Is there any way i can make the assembly load correctly in .NET 6?
I've tried to manually link the System.Runtime.Remoting dll in the application, but that doesn't seem to work.
needs to use CORBA and IIOPthose are ancient and language-specific protocols. Even Java programs no longer user them. Are you absolutely sure you need RMI and CORBA? Doesn't the server support a more modern protocol like SOAP, REST, gRPC? CORBA itself is a specification that must be implemented by a server. Are you sure that server still requires CORBA ?