Skip to main content
added 9 characters in body
Source Link
burnsi
  • 7.9k
  • 15
  • 24
  • 37

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'.'

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.

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.

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.

Source Link

Loading a .NET 4.8 Framework assembly into a .NET 6.0 Project

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.