sqt-android / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Could not load file or assembly system.threading.tasks on dot.net framwork 4.0 with KB2468871 #465

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I get unhandled exception:
Could not load file or assembly system.threading.tasks version 2.6.7.0

Installed on windows server 2003 with dot.net framwork 4.0 with KB2468871.

I'm using VS express 2013 targeting framwork 4.0 to create my project.
Installed Google.Apis.Drive.v2 Client Library 1.8.1.1230 using NuGet.

Original issue reported on code.google.com by bgu...@gmail.com on 17 May 2014 at 11:29

GoogleCodeExporter commented 9 years ago
Let me know if the following thread helps you: 
http://stackoverflow.com/questions/17566123/cannot-load-system-threading-tasks-a
ssembly-using-google-calendar-api or 

Original comment by pele...@google.com on 20 May 2014 at 4:06

GoogleCodeExporter commented 9 years ago
I've tried it few days ago. It didn't help.
Just to be on the safe side I've tried it again now. Same error :(

Original comment by bgu...@gmail.com on 20 May 2014 at 6:14

GoogleCodeExporter commented 9 years ago
I am getting  the same error after I deploy my click-once. I don't get any 
error while I debug. The application works fine in debug mode. I have also 
tried above link and also re-installing the calendar api from NuGet but no luck.

Original comment by carp.sa...@gmail.com on 16 Jul 2014 at 7:54

GoogleCodeExporter commented 9 years ago
I finally figured out with the help from the link provided by MSDN blog what 
was wrong with my application. 

http://blogs.msdn.com/b/bclteam/p/asynctargetingpackkb.aspx --  Issue No 9. I 
had to link the system.threading.task.dll file as well as system.net.http.dll 
to my project. 

Original comment by carp.sa...@gmail.com on 16 Jul 2014 at 9:09