Error 1 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 20 Position 14.'
Any ideas I need to include more dlls or something like that
WPF
<Window ... xmlns:activeXControl="clr-namespace:AxWMPLib;assembly=AxInterop.WMPLib"> <Grid> <WindowsFormsHost x:Name="winFormsHost" Grid.Column="1"> <activeXControl:AxWindowsMediaPlayer x:Name="activeXMediaPlayer"/> </WindowsFormsHost> </Grid> </Window>
Window shortcut specially cut
source share