Code sample broken

Feb 10, 2010 at 7:21 PM

I get:

Error 1 The tag 'CoreSmoothStreamingMediaElement' does not exist in XML namespace 'clr-namespace:Microsoft.SilverlightMediaFramework.Player;assembly=Microsoft.SilverlightMediaFramework.Player'. C:\Project\SilverLight\SmfSimplePlayer\MainPage.xaml 12 14 SmfSimplePlayer

// Assembly Microsoft.Web.Media.SmoothStreaming, Version 3.0.711.8
Location: C:\Project\SilverLight\IISSmoothSDK\Microsoft.Web.Media.SmoothStreaming.dll
Name: Microsoft.Web.Media.SmoothStreaming, Version=3.0.711.8, Culture=neutral, PublicKeyToken=31bf3856ad364e35


// Assembly Microsoft.SilverlightMediaFramework.Player, Version 1.2009.1112.1
Location: C:\Project\SilverLight\SMF\Microsoft.SilverlightMediaFramework.Player.dll
Name: Microsoft.SilverlightMediaFramework.Player, Version=1.2009.1112.1, Culture=neutral, PublicKeyToken=null
Type: Library

Downloaded latest IIS Smooth SDK per instructions, does not compile.

Feb 12, 2010 at 6:13 PM

I was having this same issue.  The problem lies in the fact that the version of Microsoft.Web.Media.SmoothStreaming that you reference in your project differs from the one that SMF was compiled against.  What I did was just recompile the source for Microsoft.SilverlightMediaFramework.Player against the version that I was attempting to use.  Updated my project with the new dll and it worked fine.

Feb 22, 2010 at 9:03 PM

The current build of SMF is targeting the SmoothStreamingMediaElement Beta 2 build.  Download links can be found on the front page.

Mar 4, 2010 at 1:36 PM


I have just download and try to get the following build errors

for the SMF project

Error 1 Operator '==' cannot be applied to operands of type 'Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElementState' and 'System.Windows.Media.MediaElementState' C:\Users\joe\Documents\Visual Studio 2008\Microsoft.SilverlightMediaFramework\Microsoft.SilverlightMediaFramework.Player\CoreSmoothStreamingMediaElement.cs 323 9 Microsoft.SilverlightMediaFramework.Player

What is wrong?



Mar 4, 2010 at 3:05 PM

Eventually complied using the dll's from the source code and not the ones from the download page.

Mar 4, 2010 at 5:04 PM

Yes, this is what I had to do as well.  Please ignore all the comments above on how you need to download the right binaries, they are incorrect.  You have to build everything yourself or it will not work.


Mar 6, 2010 at 2:01 PM
Here some xaml that works with the new bits

<UserControl x:Class="SMFHowToExample.MainPage"
    xmlns:d="" xmlns:mc="" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    <StackPanel x:Name="LayoutRoot">
                SmoothStreamingSource="" />