PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Apr 25, 2024 8:51 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Nov 18, 2013 4:27 pm 
Offline

Joined: Mon Nov 18, 2013 4:15 pm
Posts: 1
I want to convert XPS to PDF but I have an error because is missing XPS.

I´ve downloaded from here: http://sourceforge.net/projects/pdfshar ... /pdfsharp/ Version 1.32 and 1.31 and add reference to the project. but xps is still missing.

PdfSharp.Xps.XpsConverter.Convert(filename, fileDest, 0);

Error 1: El tipo o el nombre del espacio de nombres 'Xps' no existe en el espacio de nombres 'PdfSharp' (¿falta una referencia de ensamblado?)


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 27, 2013 8:49 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
You say you added a reference, but the error message says the reference is missing.
You have to add the project to your solution. And in your project you have to add a reference to the other project. And you need the correct "using" (but VS suggests to add that for you when the rest is correct).

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 345 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