The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

cody.skidmore (22) [Avatar] Offline
#1
Can someone post the versions of Silverlight, .NET, & Visual Studio need to run code from the book?

After comparing the free chapter available on manning.com with the the eBook I purchased yesterday, it is clear the book's code is a moving target.

As mentioned in a previous posting, the first sample on page 17 doesn't run on on the version of tools I've got. It is a very small amount of code that loads a video and runs it. It should run without issue.

Sound off it you can run the code please.
geraldbauer (17) [Avatar] Offline
#2
Re: Version compatibility for Silverlight In Action code
Here is what I used for code:

<UserControl x:Class="Welome.Page" >
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlnssmilie="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<MediaElement x:Name="myMediaElement" >
Margin="20" Height="240" Width="320"
Source="http://www.silverlightinaction.com/video1.wmv" />
</Grid>
</UserControl>

What version I have is Microsoft® Silverlight™ 2 Software Development Kit Beta 1
cody.skidmore (22) [Avatar] Offline
#3
Re: Version compatibility for Silverlight In Action code
It has to be a problem on my end.

- Lack of experience with silverlight.
- Creating the wrong project type.
- Something goofy in my workstation configuration.

I'll figure it out and post what I find in case someone else experiences the same problem.