logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
dev0peur  
#1 Posted : Tuesday, January 5, 2016 7:04:32 AM(UTC)
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
I have this error with my wpf project :
Quote:
" PdfViewer is not supported in a Windows Presentation Foundation (WPF) project..."

framework 4.5
who can help me please
Andrew  
#2 Posted : Tuesday, January 5, 2016 7:05:58 AM(UTC)
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
I guess you tried to use WinForms Pdf Viewer. Remove the reference to patagames.pdf.winforms and add patagames.pdf.wpf instead
dev0peur  
#3 Posted : Tuesday, January 5, 2016 7:07:11 AM(UTC)
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
i deleted "pdf.winforms" but i still have this message "pdfviewer is not supported in a wpf project"
Andrew  
#4 Posted : Tuesday, January 5, 2016 7:09:13 AM(UTC)
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
try add
xmlns:Wpf="clr-namespace:Patagames.Pdf.Net.Controls.Wpf;assembly=Patagames.Pdf.Wpf"

into <window> tag
dev0peur  
#5 Posted : Tuesday, January 5, 2016 7:10:42 AM(UTC)
Guest

Rank: Guest

Groups: Guests
Joined: 1/5/2016(UTC)
Posts: 162

Was thanked: 5 time(s) in 5 post(s)
Originally Posted by: Guest Go to Quoted Post
xmlns:Wpf="clr-namespace:Patagames.Pdf.Net.Controls.Wpf;assembly=Patagames.Pdf.Wpf"


it works thanks a lot
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.