tags:

views:

10

answers:

0

Hi,

I have the xps document in WPF, whose properties are BuildAction - Content and Copy to Output directory - Copy always. So whenever i run the exe, i will get these documents in the output directory.When i try to access this document, and want to show in document viewer, it is giving error as above. Can anyone help.

docViewer.Document = doc.GetFixedDocumentSequence();

Thanks,