| PDFsharp & MigraDoc Forum https://forum.pdfsharp.net/ |
|
| Documentation/Instructions for PDFsharp/MigraDoc in VS2013? https://forum.pdfsharp.net/viewtopic.php?f=2&t=2720 |
Page 1 of 1 |
| Author: | pgtaviator [ Wed Jan 29, 2014 5:35 pm ] |
| Post subject: | Documentation/Instructions for PDFsharp/MigraDoc in VS2013? |
I'm a novice developer attempting to go through MigraDoc samples in VS2013. I am having no luck getting anything to execute. Issues with .NET version (which I believe I've corrected by installing those .NET versions and modifying project properties), unable to run because it's a library errors and multiple context errors that are proving difficult to resolve. I've googled to no avail on these matters. What is wrong with the samples? Will they simply not run in VS2013? Are there instructions to do this somewhere or would someone kindly advise? Also, can someone tell me what the difference is between PDFsharp and MigraDoc? The explanations given are so vague there is no way to determine a decision on what tool to use (or both) to solve a given technical problem. Thanks! Paul |
|
| Author: | Thomas Hoevel [ Wed Jan 29, 2014 5:45 pm ] |
| Post subject: | Re: Documentation/Instructions for PDFsharp/MigraDoc in VS20 |
Hi! Samples work with VS2012. I haven't tried VS2013 yet. Re Cannot run a library Select a sample program (e.g. Hello World) and not a library (e.g. PDFsharp) as your startup project. Re PDFsharp vs. MigraDoc: See also: http://www.pdfsharp.net/ |
|
| Author: | pgtaviator [ Wed Jan 29, 2014 6:24 pm ] |
| Post subject: | Re: Documentation/Instructions for PDFsharp/MigraDoc in VS20 |
Hello Thomas, I've tried running (F5/debug...) "Hello World" (from MigraDoc Samples-WPF-VS2010.sln, not sure if I'm running debug on this correctly. Actually, it would be great to have instructions for how to run these samples as it does not appear to be as simple as "open solution and hit F5") and all I get are PILES of errors like; "Error - The type or namespace name 'PdfSharp' could not be found (are you missing a using directive or an assembly reference?) C:\.NET Libraries\PDFSharp-MigraDocFoundation-1_32\MigraDoc\code\MigraDoc.Rendering\MigraDoc.Rendering\PageInfo.cs 32 7 MigraDoc.Rendering-WPF" in literally all of the .cs files in the solution. I would have expected all necessary references would be in there... Thanks Paul |
|
| Author: | Thomas Hoevel [ Thu Jan 30, 2014 9:29 am ] |
| Post subject: | Re: Documentation/Instructions for PDFsharp/MigraDoc in VS20 |
pgtaviator wrote: I would have expected all necessary references would be in there... All the references are there and the samples work "out of the box" with VS 2010.I opened the solution with VS2010, set HelloWorld as startup app, pressed F5 and got a PDF file - without any other changes. Opened the solution with VS2012, pressed F5 and got a PDF file. You use VS2013 (which I don't have yet) and changed the .NET version with some libraries. When I get lots of errors, I select Rebuild to compile everything, then I open the Output window and search for the first occurrence of ": error". Solve this error, then try again. When library A does not compile, you will get heaps of errors from other libraries that reference library A (which was not build). So check why library PDFsharp does not compile. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|