PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 3:59 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sun Aug 16, 2009 10:06 pm 
Offline

Joined: Sun Aug 16, 2009 9:59 pm
Posts: 2
Hi, i just downloaded the pdfsharp samples and most of them produce the following errors.

Assertion failed
'Object type transformation must not be done with direct objects'.

Any help would be great since my application is suppose to be delivered in an hour :shock:


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 18, 2009 2:44 am 
Offline

Joined: Sun Aug 16, 2009 9:59 pm
Posts: 2
No one can help me with this issue? Any of the examples that try and open an existing pdf document cause this issue...


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 24, 2009 8:05 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Hi!
brett wrote:
Any help would be great since my application is suppose to be delivered in an hour :shock:

The message comes from Debug.Assert.
AFAIK you can ignore this message.

I hope you deliver a Release Build - no Debug.Assert messages in Release Build.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 06, 2010 2:01 pm 
Offline

Joined: Tue Apr 06, 2010 1:47 pm
Posts: 1
Hi,

But if we are in debug mode, how this assert can be fixed ? Cause i think if there is an assert of this type it's to warn the developer.
I'd like to fix this to prevent a bad use of transformation but i don't know how ?
Can you tell us why this assert is here and how to be careful to some points concerned by this ?

Thanks :o


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 06, 2010 2:13 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
aurelien0306 wrote:
But if we are in debug mode, how this assert can be fixed?

Find the line with the Assert and add "//" right at the start. :wink:

It seems this Assert is causing false alerts. Ignore it and don't worry.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 22, 2010 7:10 am 
Offline

Joined: Mon Oct 18, 2010 9:34 am
Posts: 14
can i get more info about this message? is it dangerous? i get it when intensive working with XGraphics. yes, a built dll in release mode ant message hide, but i want to know is it seriosly?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 354 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group