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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -