PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Jul 19, 2024 9:26 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Dec 08, 2011 5:50 am 
Offline

Joined: Thu Dec 08, 2011 5:01 am
Posts: 1
After much Googling, forum searching and head-scratching, I (programming noob) have managed to compile and run the Hello World! application on MS Visual Studio 2010 C# Express. I'll post the step and mis-steps here to help other noobs and to expose my ineptitude to the programming superstars for correction and/or derision.

What didn't work:
1. Downloading PDFsharp-MigraDocFoundation-1_31.zip, extracting and including BuildAll-MigraDoc-WPF.sln. Whoops, it needs to be upgraded.

2.OK let's try double-clicking on BuildAll-MigraDoc-WPF.sln (with the intent of adding it to my project later on). VS complains because it doesn't support solution folders.

3. Let's try to build it from the command line. After locating MSBuild.exe and modifying my path, I try to build BuildAll-MigraDoc-WPF.sln. I now have multiple bin/release folders in MigraDoc.RtfRendering, MigraDoc.Rendering and MigraDoc.DocumentObjectModel and no idea which one to pick. Oh dear.

4 Time for a new approach. I download the DLLs (viewtopic.php?f=2&t=409) and extract the WPF folder. Inside that folder I find five DLLs. Which ones to reference? Well, it's getting late and if 'some' is good, 'more' is better. Reference them all!

5. Now VS Express is complaining about WindowsBase.dll. WHAT!?!?! No matter - found a solution here: http://blogs.msdn.com/b/dmahugh/archive ... e-dll.aspx

6. Take the code listed in the sample (http://www.pdfsharp.net/wiki/HelloWorld-sample.ashx), add it to an event in a sample project, toss in the usings and SUCCESS!!! IT WORKS!!!!

I hope this helps someone out there, in some small way.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 45 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