c# - How to add reference to Windows Media Player to my Visual Studio project? -
there following trouble: made c# application windows media player component (i added toolbox). created installer project, , there following dependencies:
microsoft .net framework; axinterop.wmplib.dll; interop.wmplib.dll; wmp.dll;
now when user tries install app takes error impossible loading "axinterop.wmplib, version=1.0.0.0, culture=neutral, publickeytoken=null". how can fix it? .net framework installed successfully.
go solution explorer, right click references, add reference, com elements, browse, windows media player in programs, may add both exe , dll files, , add using in name spaces (using wmplib;)
Comments
Post a Comment