ajmal744 / 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

Problems using Google.Apis.Authentication.OAuth2.dll #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was trying to run the sample program in given in 
https://developers.google.com/drive/quickstart-cs#step_3_set_up_the_sample, but 
there are many problems. I am using Win Xp SP3, VS 2010 Professional, .NET 
Framework 4.0. The problems come on these functions 
2. OAuth2Authenticator
3. ApplyAuthenticationToRequest

Kindly help me.

Problem:

An unhandled exception of type 'System.TypeLoadException' occurred in 
mscorlib.dll

Additional information: Method 'Method' in type 
'Google.Apis.Authentication.OAuth2.OAuth2Authenticator`1' from assembly 
'Google.Apis.Authentication.OAuth2, Version=1.4.0.28223, Culture=neutral, 
PublicKeyToken=null' does not have an implementation.

I am using latest dlls from 
https://developers.google.com/resources/api-libraries/download/drive/v2/csharp

Any help would be appreciated. Thanks in advance.

Original issue reported on code.google.com by ranjan2...@gmail.com on 9 Jul 2013 at 10:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Its Superb blog , if Rundll error problem go through this link and get free 
from error.
http://windows7support.blogspot.in/2013/10/how-to-remove-rundll-error.html
Thank you
Aalia lyon 

Original comment by aalial...@gmail.com on 13 May 2014 at 4:36

GoogleCodeExporter commented 9 years ago
HI there, I have been struggling with the issue you can see in the attached 
screenshot with EVERY quickstart example for.NET for the past 2 weeks now!!!! 

I can't find what the problem exactly is here... PLEASE HELP!

Regards,
Anant

Original comment by Z3.lIoNk...@gmail.com on 10 Sep 2014 at 1:00

Attachments:

GoogleCodeExporter commented 9 years ago
Did you follow the steps in this thread?
It looks like you didn't enable NuGet pacakges restore (that's the error), 
Google it - Maybe this thread will help you: 
http://blogs.4ward.it/enable-nuget-package-restore-in-visual-studio-and-tfs-2012
-rc-to-building-windows-8-metro-apps/

Original comment by pele...@google.com on 10 Sep 2014 at 1:01