0

When I'm trying to integrate Meta.Vlc.Wpf media player from Nuget Package, I'm getting the following error

enter image description here

How to solve this.

I have also tried this using nuget package

while using that

I'm facing issue as

VlcControl does not contain a definition for 'MediaPlayer and no accessible extension method 'MediaPlayer' accepting a first argument of type -VIcContror could be found (are you missing a using directive or an assembly reference?)

Nandha
  • 375
  • 3
  • 23
  • Please do not post screenshots of your code and/or error messages (something to read: [Why not upload images of code on SO when asking a question?](https://meta.stackoverflow.com/a/285557/2819245), [An image of your code is not helpful](http://idownvotedbecau.se/imageofcode) and [Pictures of exceptions are not helpful](http://idownvotedbecau.se/imageofanexception/)). –  Jun 03 '19 at 17:45
  • @elgonzo okay , i will change. – Nandha Jun 04 '19 at 03:33
  • Look at the error message you got: "_VlcControl does not contain a definition for 'MediaPlayer and no accessible extension method 'MediaPlayer' accepting a first argument of type VIcContror could be found_" is rather self-explanatory. You are trying to access a `VlcControl` member (or extension method) called _MediaPlayer_, but the `VlcControl` type does not have such a public member/extension method (as the compiler/error message tells you). I guess you need to revisit and double-check on the documentation and/or guides that made you think that _VlcControl_ would have a _MediaPlayer_ member. –  Jun 04 '19 at 09:57
  • Share full code – mfkl Jun 05 '19 at 09:54

0 Answers0