From: ThatsIT.net.au on 22 Jan 2010 11:33 I'm trying to write a console app that will convert pdf's to xps files, but the relevant XPS objects like System.Windows.Xps I cant find. I have tried VS2008 VS2010, but no objects, they are in the object browser but can not import and can not add them as reference any ideas?
From: Tom Shelton on 22 Jan 2010 12:11 On 2010-01-22, ThatsIT.net.au <me(a)work> wrote: > I'm trying to write a console app that will convert pdf's to xps files, but > the relevant XPS objects like System.Windows.Xps I cant find. > > I have tried VS2008 VS2010, but no objects, they are in the object browser > but can not import and can not add them as reference > > any ideas? > Is your app targeting .NET Framework 3.5? -- Tom Shelton
From: ThatsIT.net.au on 22 Jan 2010 12:27 "Tom Shelton" <tom_shelton(a)comcastXXXXXXX.net> wrote in message news:utEGDY4mKHA.5524(a)TK2MSFTNGP05.phx.gbl... > On 2010-01-22, ThatsIT.net.au <me(a)work> wrote: >> I'm trying to write a console app that will convert pdf's to xps files, >> but >> the relevant XPS objects like System.Windows.Xps I cant find. >> >> I have tried VS2008 VS2010, but no objects, they are in the object >> browser >> but can not import and can not add them as reference >> >> any ideas? >> > > Is your app targeting .NET Framework 3.5? > -- > Tom Shelton Yes tried 3.5 and 4
From: ThatsIT.net.au on 22 Jan 2010 12:32 "Tom Shelton" <tom_shelton(a)comcastXXXXXXX.net> wrote in message news:utEGDY4mKHA.5524(a)TK2MSFTNGP05.phx.gbl... > On 2010-01-22, ThatsIT.net.au <me(a)work> wrote: >> I'm trying to write a console app that will convert pdf's to xps files, >> but >> the relevant XPS objects like System.Windows.Xps I cant find. >> >> I have tried VS2008 VS2010, but no objects, they are in the object >> browser >> but can not import and can not add them as reference >> >> any ideas? >> > > Is your app targeting .NET Framework 3.5? > -- > Tom Shelton Found them, had to add reachframwork reference. Not a name I was looking for
From: Herfried K. Wagner [MVP] on 22 Jan 2010 16:04 Am 22.01.2010 17:33, schrieb ThatsIT.net.au: > I'm trying to write a console app that will convert pdf's to xps files, > but the relevant XPS objects like System.Windows.Xps I cant find. > > I have tried VS2008 VS2010, but no objects, they are in the object > browser but can not import and can not add them as reference Maybe you are lacking a reference to "System.Printing.dll" Note that the DLL containing a certain type is listed at the beginning of the documentation on the type: XpsDocumentWriter Class (System.Windows.Xps) <URL:http://msdn.microsoft.com/en-us/library/system.windows.xps.xpsdocumentwriter.aspx> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
|
Pages: 1 Prev: Date formats, culture and globalization Next: Manual Route Manipulation |