Page 1 of 1

VLC In C# program (Visual Studio)

Posted: 19 May 2018 15:54
by Kiichiro
Hello all, I am new to using VLC in my programs and am also new to the forum!

So the program I am currently working on is a C# win form that allows me to load up a custom playlist,play the files in order, then move that file to a "watched" folder. I have everything working but was using VLC 2.0.7, unfortunately it does not allow me to play any MKV files(It does, but no video, only audio). I am wanting to switch to the VLC 4 developer but am having trouble finding out how to integrate it into Visual Studio / my program. I have tried reading the documentation on the wiki page but left feeling more confused then when I began.

Anyone have any advice/a "walkthrough"?

Re: VLC In C# program (Visual Studio)

Posted: 29 May 2018 23:18
by da2424
If you install VLC 4 on the PC on which VS is installed, the plugin should still be working in your project without re-integrating.
But it's possible that it's necessary to rename or delete the the folders /obj and /bin in your project folder. At next compilation time, Visual Studio will re-generate some libraries to access to the newer VLC plugin API.
Please note: If you want to create a 64bits C# program, you need VLC 64bits AND 32bits. If you don't install the 32bits version, VS will not dedect VLC.

Re: VLC In C# program (Visual Studio)

Posted: 02 Jun 2018 16:43
by Kiichiro
Thank you so much da2424! I was unaware I needed 32 bit VLC to get the plugin to work with VS! you've just solved 99% of my issues.