question

MaorCohen-5307 avatar image
MaorCohen-5307 asked ·

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

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-supported
reddit.png (23.7 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

kaniAbey avatar image
kaniAbey answered ·

Hi @MaorCohen-5307 ,

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


1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

7083-microsoft.png




The dependency of the project was already added. The setup project had a dependency on the game project.

0 Votes 0 · ·
microsoft.png (5.6 KiB)