google-code-export / google-api-dotnet-client

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

Make the symbols available for debugging at SymbolSource.org #498

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?  
http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-symbol-pa
ckage

Target platform (e.g. Windows, Mono, Silverlight, WP7, All)?  All?

Please describe the feature requested.

I'm using the Gmail and Cloud Storage APIs for a desktop client I'm developing 
and already have that in production.  I liked the API so much that I decided to 
extend some of your classes and use your client code as a basis for a cloud 
service I'm building for the same app.

With the Gmail and Cloud Storage stuff, I'm using a Google service account with 
a .p12 file.

For my own, I'm actually using a slightly customized Oauth 2.0 authentication 
flow where I've extended things like AuthorizationCodeFlow, 
AuthorizationCodeFlow.Initializer and a few other classes to specify my own 
URLs for Oauth and then I'm using that UserCredential as part of a restful web 
service.

I've got the Oauth bits working just fine.

However, I'm stuck and getting a null reference exception when actually trying 
to and the debugger is of no help.  The stack trace points to 
ClientServiceRequest.ExecuteAsync rather than the underlying spot where the 
exception happened.  I'm hoping that if you guys publish symbols to 
SymbolSource.org that I might be able to see what line I'm getting the NRE at.

If you're not inclined to do that for whatever reason, I'll just check out the 
code and try to specify the source some other way, but it'd be a huge help.

Also, have you guys considered the possibility that people might be using your 
work as a base?  You guys have done an amazing job with the basic APIs and 
making it easy to add new REST endpoints and the like.  It's going to save me a 
ton of time once I get over these few hurdles.

Original issue reported on code.google.com by jeff...@gmail.com on 12 Oct 2014 at 5:25

GoogleCodeExporter commented 9 years ago
I'd still like you guys to do this, but I was able to get my code working today 
by checking out a .zip of the source and creating the directory structure that 
Visual Studio was expecting (c:\code\google.com\8\directories\later\it\worked).

I'm running v1.8.1 of the Google Apis client right now.  When I'm not gunning 
to get some stuff done I'll update to the latest version.

I've dug into the code you guys are using and it looks like you're using the 
Nuget PackageBuilder class directly.  You will probably want to look at this 
file to fill in the gaps for what makes a symbols package versus your typical 
package: 
https://nuget.codeplex.com/SourceControl/latest#src/CommandLine/Commands/PackCom
mand.cs

Original comment by jeff...@gmail.com on 12 Oct 2014 at 11:00

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 13 Oct 2014 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 23 Dec 2014 at 1:47