Why not all of the dependencies are detected in the setup project?

Maor Cohen 1 Reputation point

I built a little Windows Forms game and I want to create a setup file now.

Already created for its first version and all worked well, but when I created the next version of the game, and added the dependency WMPLib (wmp.dll), it wasn't a part of the Detected Dependencies folder in the Setup Project. Tried to switch between Release mode and Debug mode, also refreshed dependencies - didn't work.


Tried to add the dependency to the project directory in the Setup Project, but didn't work. Also tried to remove the dependency and add it again, also didn't work.

What am I missing? Thanks.

tagged with #QnA - didn't know what to choose

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
25,338 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kanishka Abeykoon 6 Reputation points

    Hi @Maor Cohen ,

    As we can see you have added a reference to the project. try adding a dependency to the project. note: The Project Dependencies option is only available in a solution with more than one project.