'AxAXVLC.AxVLCPlugin2' does not contain a definition for 'addTarget'
Posted: 22 Apr 2015 16:18
I'm trying to use the VLC Plugin for winforms using c#.
I wasn't able to register the dll, but on Visual Studio I was able to add the plugin for use so it must have already been there.
I now have a player control in a form called AxAXVLC.AxVLCPlugin2, which I am trying to pass files through to to play.
However, the command I've found online (addTarget) is giving the below error.
Do I need to include a directory or similar? Or is this not the correct method?
'AxAXVLC.AxVLCPlugin2' does not contain a definition for 'addTarget' and no extension method 'addTarget' accepting a first argument of type 'AxAXVLC.AxVLCPlugin2' could be found (are you missing a using directive or an assembly reference?)
public PlayerForm(string mediaPath)
{
InitializeComponent();
axVLCPlugin21.addTarget = mediaPath;
}
I wasn't able to register the dll, but on Visual Studio I was able to add the plugin for use so it must have already been there.
I now have a player control in a form called AxAXVLC.AxVLCPlugin2, which I am trying to pass files through to to play.
However, the command I've found online (addTarget) is giving the below error.
Do I need to include a directory or similar? Or is this not the correct method?
'AxAXVLC.AxVLCPlugin2' does not contain a definition for 'addTarget' and no extension method 'addTarget' accepting a first argument of type 'AxAXVLC.AxVLCPlugin2' could be found (are you missing a using directive or an assembly reference?)
public PlayerForm(string mediaPath)
{
InitializeComponent();
axVLCPlugin21.addTarget = mediaPath;
}