Hi All,
I have created a silverlight project and following the first video tutorial to create a smiley face:
http://silverlight.net/Learn/videocat.aspx?cat=1
But when I tried to open the .sln file in Expression Blend it gives me the following error:
Canvas is not supported in a windows presentation foundation (wpf) project
Rectangle is not supported in a windows presentation foundation (wpf) project
Ellipse is not supported in a windows presentation foundation (wpf) project
( + many more)
There are a few differences between my project and the video tutorial which I think might cause this:
First, in SilverLight new project templates I have:
Silverlight Applcation
Silverlight Class Library
unlike the video tutorial which has:
Silverlight Javascript Application
Search Online Templates...
Secondly, I notice the default code in xaml is different:
I get Page.xaml with the following code:
<UserControl x:Class="HelloSilverLight.Page"
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
But in the video tutorial, the code is:
<Canvas xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
Is this a silverlight versioning problem?
I am using:
ExpressionStudio2Beta_en.exe
silverlight_chainer.exe
Thanks.