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

Maor Cohen 1 Reputation point
2020-04-02T17:43:37.907+00:00

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.

6986-reddit.png

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.
36,849 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kanishka Abeykoon 6 Reputation points
    2020-04-02T22:09:06.153+00:00

    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.

    how-to-create-and-remove-project-dependencies