The text of this article is not in this database — only its details are. Read it on the old site: Using Windows Media Player COM in WPF
7 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Using Windows Media Player COM in WPF
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Ayan GhoshPosted May 3, 2018, 11:03 AM
Dependency assembly error was resolved by adding "Interop.WMPLib.dll" in reference of the WPF project. So you've to add 3 dll files from the "MediaLibrary" project (MediaLibrary -> Object -> debug), they are : "MediaLibrary.dll", "AxInterop.WMPLib.dll" and "Interop.WMPLib.dll"
Arun SaraPosted Oct 14, 2017, 1:51 AM
How to solve this exception System.windows.xaml.parseexception
Lee Keat SiangPosted Dec 29, 2013, 6:15 AM
I also got building error 'Cannot resolve dependency to assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.
Dhiraj PandeyPosted Jul 26, 2012, 4:40 AM
Error 2 Unknown build error, 'Cannot resolve dependency to assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event. Line 15 Position 93.' C:\test\WPFCOM\WMPInWPF\MainWindow.xaml 15 93 WMPInWPF it give this Exception when it Build
Ujjwal SudeditedPosted Mar 8, 2012, 6:05 AMEdited Mar 8, 2012, 6:06 AM
Not Working in frame work. Can you help me in this Direction Email Id [email protected]
pradeepta meherPosted Sep 15, 2010, 7:05 AM
When i am following the above procedure i am getting exception in my design page of wpf applicaion. Can you please help me in this direction. My email id is->[email protected]
Hai Vu 0Posted May 4, 2010, 10:57 AM
In the MediaLibrary control library I've changed Windows Media Player's uiMode to mini. But when I create the activeXControl in the WMPInWPF project, its uiMode is full. How can I keep the UI I want?