PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 18, 2024 3:29 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Sep 21, 2011 11:20 am 
Offline

Joined: Tue Sep 20, 2011 5:59 pm
Posts: 5
I downloaded PDFsharp-MigraDocFoundation-1_31.zip and unzipped it. PDFsharp and MigraDoc folders were extracted. I think at this point I need to install them but I can't figure out how. Can someone please help. Thanks


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2011 11:51 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
No need to install anything, just open the appropriate solutions (*.SLN) with your Visual Studio.
One is in this folder: MigraDoc\samples\Samples C#\Based on WPF

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2011 2:30 pm 
Offline

Joined: Tue Sep 20, 2011 5:59 pm
Posts: 5
Sorry but I'm still lost. I have a VS2008 VB Smart Device project. When I try to add the line 'Imports PDFsharp' to my app, PDFsharp is not available. Normally I need to 'Add a Reference' to the app before I can use the 'Import' statement but PDFsharp is not available to the project. Does PDFsharp work with a Smart Device application? I hope this makes sense. Thanks for you help.


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2011 3:06 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
BCS wrote:
Does PDFsharp work with a Smart Device application?

I don't know.

In the folder PDFsharp\code\PdfSharp you'll find PdfSharp.csproj - add this to your solution using Add => Existing Project and then you'll be able to add a reference to PDFsharp (from the Projects tab). You might need more projects from PDFsharp or MigraDoc.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2011 3:26 pm 
Offline

Joined: Tue Sep 20, 2011 5:59 pm
Posts: 5
PDFshart.csproj is this c# because my application is visual basic


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2011 3:39 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
BCS wrote:
PDFshart.csproj is this c#

Yes, but it's all managed code - you actually reference the assembly created from that project.

It's called PDFsharp because it was written in Csharp.

You can download PDFsharp-MigraDocFoundation-Assemblies-1_31.zip and reference the assemblies, not the projects - but if you're version of Visual Studio supports C# projects, then better reference the project.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 21, 2011 4:40 pm 
Offline

Joined: Tue Sep 20, 2011 5:59 pm
Posts: 5
I don't think this is going to work with a smart device project. I added PDFsharp.csproj to my project. I then when to 'Add Reference', when to the 'Projects' tab, selected PDFsharp and clicked OK. I got the message 'A reference to 'PDFsharp' could not be added. Adding a reference to a desktop project from a smart device project is not supported'.

To me, this message is confussing. I'm not trying to add a reference from a smart device project to a desktop project. I'm trying to add from the desktop to the smart device.


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 35 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:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group