I have some problem for integrate YouTube API on my webapp, I already use Analytics API and this works, but when I try to add YouTube service I get this error:
Il tipo 'Google.Apis.Services.BaseClientService'è definito in un assembly di cui manca il riferimento. Aggiungere un riferimento all'assembly 'Google.Apis, Version=1.10.0.25332, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab'.
Here is the code:
using Google.Apis;using Google.Apis.Auth;using Google.Apis.Services;using Google.Apis.Analytics.v3;using Google.Apis.Analytics.v3.Data;using Google.Apis.YouTube.v3;using Google.Apis.YouTube.v3.Data;public class DashBoard { protected ServiceAccountCredential credential = null; protected AnalyticsService analytics_service = null; protected YouTubeService youTube_service = null; .....The line that create the error is this: protected YouTubeService....' removing this it all works, adding this I get the error.
What can I check for find the mistake?