I have a C# application, for which the GUI has been written in XAML.
I want to add the functionality to be able to display PDF documents from inside my application, and came across PDFSharp as one of the PDF viewers that provides this functionality.
I have downloaded the source code for PDFSharp, but I'm not sure how I now incorporate this into my application... Is there a guide for how to do this? I had a look on SourceForge, but couldn't see any supporting documentation that explained how to do it.
I have tried opening the source folder in Visual Studio, but can't find a way to build or run the code to see a working example of it... when I try to run the solution, I get an error message which says:
Quote:
A project with an Output Type of Class Library cannot be started directly.
In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project.
How would I go about looking into adding this PDF viewer to my application?