Hi Frank,
I am not using the Release libraries directly. I am building my own Google libraries by including the source files in them because you guys dont provide the .csproj files with the source code.
Please tell me what should i do to make this work ? Should i Uncheck the "Define Trace Constant" from all the projects i am using or there is something else to be done ?
Regards
Kulvinder Singh
----- Original Message ----
From: Frank Mantek <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 23, 2007 5:30:21 PM
Subject: Re: How to handle Trace.Assert statement ? - Avoid popus due to Trace.Assert
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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
From: Frank Mantek <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 23, 2007 5:30:21 PM
Subject: Re: How to handle Trace.Assert statement ? - Avoid popus due to Trace.Assert
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
On 5/23/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote:
Culprit is the following method :[Conditional("TRACE" )] static public void Assert( bool condition, string msg)
{
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
-~----------~----~----~----~------~----~------~--~---

