How to include dependencies in Setup and Deployment Project?

前端 未结 2 1838
粉色の甜心
粉色の甜心 2021-01-13 01:57

I have a solution that consists of 3 projects. I\'ve created a deployment project it is only including the dependencies from one of the projects in my solution.

Wha

2条回答
  •  借酒劲吻你
    2021-01-13 02:33

    Please note that the dependencies detected by a Visual Studio setup project are more like suggestions. You shouldn't put too much trust in them since false positives are very common.

    For a professional installer you should determine the correct dependencies yourself and add them in your project in the appropriate form. For example, some of the dependencies may be part of a runtime or framework which can be added as a prerequisite to your installer.

    If you can't figure out what dependencies your application has, you can try using a dependency walker.

提交回复
热议问题