Posted on: 2/11/2014 4:35:36 PM | Views : 860

I wish to create a website to upload videos to YouTube.
1. I have created a new .NET 4.5 ASP.net website.
2. I have added the code from this example: https://developers.google.com/youtube/v3/code_samples/dotnet#upload_a_video
3. I have installed the proper dlls using the Package Manager Console: https://www.nuget.org/packages/Google.Apis.YouTube.v3/1.7.0.94-beta

I know the above example is for a console based project but I want a web solution so I have just copied and pasted the code.
Now when I go to build my project I get the following errors:
Error 2 The type 'System.Threading.Tasks.Task`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Threading.Tasks, Version=1.5.11.0, Culture ...

Go to the complete details ...