PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
need help installing PDFsharp https://forum.pdfsharp.net/viewtopic.php?f=2&t=1792 |
Page 1 of 1 |
Author: | BCS [ Wed Sep 21, 2011 11:20 am ] |
Post subject: | need help installing PDFsharp |
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 |
Author: | Thomas Hoevel [ Wed Sep 21, 2011 11:51 am ] |
Post subject: | Re: need help installing PDFsharp |
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 |
Author: | BCS [ Wed Sep 21, 2011 2:30 pm ] |
Post subject: | Re: need help installing PDFsharp |
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. |
Author: | Thomas Hoevel [ Wed Sep 21, 2011 3:06 pm ] |
Post subject: | Re: need help installing PDFsharp |
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. |
Author: | BCS [ Wed Sep 21, 2011 3:26 pm ] |
Post subject: | Re: need help installing PDFsharp |
PDFshart.csproj is this c# because my application is visual basic |
Author: | Thomas Hoevel [ Wed Sep 21, 2011 3:39 pm ] |
Post subject: | Re: need help installing PDFsharp |
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. |
Author: | BCS [ Wed Sep 21, 2011 4:40 pm ] |
Post subject: | Re: need help installing PDFsharp |
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. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |