p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Microsoft SharePoint 2007 Development Using Microsoft Silverlight 2 ISBN: 978-0-4 (http://p2p.wrox.com/forumdisplay.php?f=489)
-   -   Ch. 2: Viewing Page.xaml in Expression Blend (http://p2p.wrox.com/showthread.php?t=74930)

JeffCren June 24th, 2009 11:18 AM

Ch. 2: Viewing Page.xaml in Expression Blend
 
After adding the code in listing 2-3 (the Page.xaml), and right-clicking on "Open in Expression Blend", Expression Blend opens the project, but I get an "Invalid XAML" error in the designer window. Looking at the details, each of the items on the page get this type of error:

UserControl is not supported in a Windows Presentation Foundation (WPF) project.
Canvas is not supported in a Windows Presentation Foundation (WPF) project.
...

Is this a problem with my development environment? I thought I had it set up as specified in the book.

Thanks,

Jeff

Tropics2a June 27th, 2009 06:15 PM

Hey Jeff,

Are you sure you are working in a Silverlight application enviroment and not WPF web application?

Johnny.


All times are GMT -4. The time now is 04:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.