c# - MediaPlayer does not appear in Toolbox even when adding from COM Components. -
i have googled issue. have visual studio 2013. following instructions: right click in toolbox, add mediaplayer com components , still error:
element 'mediaplayer' not known element. can occur if there compilation error in website, or web.config file missing.
config:
<?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetframework="4.5"> <assemblies> <add assembly="system.windows.forms, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/> <add assembly="presentationcore, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> </assemblies> </compilation> <httpruntime targetframework="4.5"/> </system.web> <appsettings> <add key="validationsettings:unobtrusivevalidationmode" value="none"/> </appsettings> </configuration> there no error in website, have latest silverlight. please can help?
all needed system.web.silverlight.dll. file adding. instructions:
1.right click on toolbox (anywhere) 2.select choose item 3.when window opens click browse , search dll file.
Comments
Post a Comment