Silverlight and Expression Blend
hi all,
i have created silverlight project , following first video tutorial create smiley face:
but when tried open .sln file in expression blend gives me following error:
canvas not supported in windows presentation foundation (wpf) project
rectangle not supported in windows presentation foundation (wpf) project
ellipse not supported in windows presentation foundation (wpf) project
( + many more)
there few differences between project , video tutorial think might cause this:
first, in silverlight new project templates have:
silverlight applcation
silverlight class library
unlike video tutorial has:
silverlight javascript application
search online templates...
secondly, notice default code in xaml different:
i page.xaml 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 video tutorial, code is:
<canvas xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
is silverlight versioning problem?
i using:
expressionstudio2beta_en.exe
silverlight_chainer.exe
thanks.
first, make sure using expression blend 2.5, not 2. 2.5 version tha supports silverlight 2.
second, walkthrough using silverlight 1.0 code example. can still in silverlight 2, need pick "silverlight web site" template in blend.
hope helps!
pete
Silverlight > Getting Started with Silverlight
Comments
Post a Comment