c# - The type 'ClientBase<>' is defined in an assembly that is not referenced -


i'm having troubles compiling this:

var client = new xmlsoccercom.demoservice.footballdatademosoapclient(); 

client.checkapikey("my_api_key");

the checkapikey method red , xamarin says me "the type clientbase<> defined in assembly not referenced. add reference in assembly system.servicemodel (...)"

what error means?

you need add reference assembly. in solution explorer, under project right-click references -> add reference. find system.servicemodel in list of framework assemblies. check box , press ok.


Comments

Popular posts from this blog

javascript - Why Selenium can't find an element that is graphically visible -

android - Basic camera in app -

scala - Using the kronecker product on complex matrices with scalaNLP breeze -