I'm trying to communicate with a python server using XML-RCP but when I try to compile the following code, the exception "System.MissingMethodException: 'Method not found: 'System.Reflection.Emit.AssemblyBuilder System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName, System.Reflection.Emit.AssemblyBuilderAccess)'.'" displays, I've found no documentation about this issue


    using CookComputing.XmlRpc;
    using System;


    [XmlRpcUrl("http://192.168.5.211:8000")]
    public interface FlRPC : IXmlRpcProxy
    {
        [XmlRpcMethod("add")]
        int add(int x, int y);
    }

    class Program
    {
        static void Main(string[] args)
        {
            FlRPC proxy = XmlRpcProxyGen.Create<FlRPC>();
            Console.WriteLine(proxy.add(2, 3));
        }
    }

I just want to skip this issue to continue to work on my project!

0 Answers