The RELEASE build of the the different projects should not have the TRACE symbol defined, but sadly this was only true for a few of the DLLs (The VS build system is not that easy to oversee ....(:..). Anyway this is now fixed inside SVN (just the csproj files are updated) and will be included in the next binary download in the next couple of days.
Frank Mantek
Google
On 5/23/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote:
>
> Culprit is the following method :
>
>
> [Conditional("TRACE")] static public void Assert(bool condition, stringmsg)
>
> {
>
> if (condition == false)
>
> {
>
> Trace.WriteLine(msg);
>
> Trace.Assert(condition, msg);
>
> }
>
> }
>
>
>
> I have commented Trace.Assert(condition, msg); for the time
> being.
>
>
>
> Any other way to skip this ?
>
>
> ----- Original Message ----
> From: Kulvinder Singh <[EMAIL PROTECTED]>
> To: Google API <[email protected]>
> Sent: Wednesday, May 23, 2007 10:11:07 AM
> Subject: How to handle Trace.Assert statement ? - Avoid popus due to
> Trace.Assert
>
> Hi,
>
> I am using Google Calendar C# API 1.0.9.6. I have delpoyed it on a testing
> machine but it is giving me a pop up as shown .
>
> **
>
>
> When i debugged to look into the reason, i found that this testing machine
> didnt have an Internet Connection enabled. Also, the statement responsible
> for this to happen is :
>
>
> Tracing
> .Assert(authToken != null, "did not find an auth token in QueryAuthToken"
> );
>
>
>
> in protected string QueryAuthToken(NetworkCredential nc) method
>
>
>
> in public class GDataGAuthRequest : GDataRequest
>
>
>
> Can anybody tell me what should i do so that i dont get these popups ?
>
>
>
> I had deployed my code on using a "Release" build on testing machine.
>
>
>
> Thanks
>
> Kulvinder Singh
>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---
<<inline: image001.jpg>>
