IpcServerChannel ist defined in an assembly that is not referenced.

Jan 3, 2014 at 8:24 PM

I created a new simple project using the latest build and get the following error message:
Error   2   The type 'System.Runtime.Remoting.Channels.Ipc.IpcServerChannel' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime.Remoting, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.   C:\Users\tim\Documents\Visual Studio 2013\Projects\ConsoleApplication2\ConsoleApplication2\Program.cs   34  17  DllInjector
This is my code:
    class Program
        static String ChannelName = null;

        static void Main(string[] args)
                Config.Register("A FileMon like demo application.",

                RemoteHooking.IpcCreateServer<WoWInterface>(ref ChannelName, WellKnownObjectMode.SingleCall);


            catch (Exception ExtInfo)
                Console.WriteLine("There was an error while connecting to target:\r\n{0}", ExtInfo.ToString());
I created a new blank Project and added the EasyHook reference to my project: C:\Users\tim\Desktop\NetFX4.0\EasyHook.dll

I choosed :NET 4.5.1 as the target framework. I found some similar threads regarding this issue, but I thought that you could now use EasyHook with .NET 4.x since the 2.7 build.

Can anyone help me?

With kind regards,
Feb 7, 2014 at 12:21 AM
Did you try adding a reference to System.Runtime.Remoting in your project?

Otherwise try using .NET 4.0.x and see if that makes a difference.