Skip to content

Issues using the (nuget version) DDPClient on Windows Phone 8.1 #8

@Melakith

Description

@Melakith

Hey Sony,

we're having some trouble using your package for our App. When we try to tun the sample code, we get the following exception:


[...]
                IDataSubscriber subscriber = new Subscriber();
        DDPClient client = new DDPClient(subscriber); //<--Exception is thrown here.

        client.Connect(our_url);
        client.Subscribe(channel);
    }
    
    public class Subscriber:IDataSubscriber
    {
        public void DataReceived(dynamic data)
        {
            try
            {
                if (data.type == "sub")
                {
                    //Console.WriteLine(data.prodCode + ": " + data.prodName + ": collection: " + data.collection);
                }
            }
            catch(Exception ex)
            {
                throw;
            }
        }

System.IO.FileNotFoundException
HResult=-2147024894
Message=Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Source=DDPClient.Net
FileName=System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
StackTrace:
at Net.DDP.Client.ResultQueue..ctor(IDataSubscriber subscriber)
at Net.DDP.Client.DDPClient..ctor(IDataSubscriber subscriber)
at YT_Player_Test.MainPage.d__0.MoveNext()
InnerException:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions