Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..
I have created windows application in c# .My application contain Windows Media Player Component. Now when i select a new project and go to setup wizard.. it gievs me the following error/warning:
"the following files may have dependencies that cannot be determined automatically. Please confirm that all dependencies have been added to the project.c:\windows\system32\wmp.dll


What I have tried:

'copy local' property of wmp.dll is already true. System also not allowing me to change 'copy local' property.
Posted
Updated 22-May-21 4:54am

1 solution

Maybe it helps to start Visual Studio as administrator.

Also see: Using the Windows Media Player Control with Microsoft Visual Studio - Win32 apps | Microsoft Docs[^]
Quote:
When you distribute your application, be sure to install AxInterop.WMPLib.dll and Interop.WMPLib.dll in the application folder.
 
Share this answer
 
v2
Comments
Anjali Mali 24-May-21 7:24am    
Still it is not working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900