Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi all

I'm using visual studio web developer trying to create a simple player, I've added the Microsoft.Web.Media.SmoothStreaming.dll but I still get an error stating if I'm missing a reference?

Quote:
I'm following a tutorial on the net http://blogs.iis.net/vsood/archive/2009/10/14/building-your-first-smooth-streaming-player.aspx I've done everything it states but I get the following error in the MainPage.g.i.cs Error "The type or namespace name 'Web' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)" and Web is underlined red in Using Microsoft.Web.Media.SmoothStreaming;


Quote:
ThePhantoUptover

Here it is, I was still in the beginning stages:

HTML
<usercontrol x:class="SimplePlayer.MainPage" xmlns:x="#unknown">
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:SSME="clr-namespace:Microsoft.Web.Media.SmoothStreaming;assembly=Microsoft.Web.Media.SmoothStreaming"
    mc:Ignorable="d"
    d:DesignHeight="640" d:DesignWidth="480">

    <grid x:name="LayoutRoot" removed="White">
        <ssme:smoothstreamingmediaelement autoplay="True" x:name="SmoothPlayer" smoothstreamingsource="http://example.com/a.isml/Manifest" grid.row="0" xmlns:ssme="#unknown" />
    </grid>
</usercontrol>


Thanks in advance.
Posted
Updated 11-Jun-13 10:22am
v3
Comments
Sergey Alexandrovich Kryukov 11-Jun-13 15:10pm    
Are you trying to reference the DLL by this module file name? If so, it's wrong: it should be in GAC, to be added by strong name (".NET" tab, not "Browse")...
—SA
mlingo209 11-Jun-13 15:15pm    
I'm sorry I don't follow. I'm following a tutorial on the net http://blogs.iis.net/vsood/archive/2009/10/14/building-your-first-smooth-streaming-player.aspx I've done everything it states but I get the following error in the MainPage.g.i.cs Error "The type or namespace name 'Web' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)" and Web is underlined red in Using Microsoft.Web.Media.SmoothStreaming;
Sergey Alexandrovich Kryukov 11-Jun-13 16:20pm    
What is not clear? How did you add the reference, exactly?
—SA
mlingo209 11-Jun-13 16:25pm    
I'm really sorry if I'm not being helpful Sergey, I went to add references > Browse > location of my Microsoft.Web.Media.SmoothStreaming.dll file selected it then add... Please walk me through its quite clear I'm not that knowledgeable
Sergey Alexandrovich Kryukov 11-Jun-13 16:38pm    
Instead of "Browse" use ".NET" tab. Read about:
1) Strong naming
2) GAC
and assemblies in general.
—SA

1 solution

Hi ,
replace this code xmlns:SSME="clr-namespace:Microsoft.Web.Media.SmoothStreaming;assembly=Microsoft.Web.Media.SmoothStreaming" with this xmlns:ssme="http://schemas.microsoft.com/smf/2010/xaml/player" and some more references to ur project Microsoft.SilverlightMediaFramework.Core, Microsoft.SilverlightMediaFramework.Plugins,Microsoft.SilverlightMediaFramework.Plugins.SmoothStreaming,Microsoft.SilverlightMediaFramework.Utilities
try the above solution


Thanks
Anil
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900