简体   繁体   English

VS2008安装项目

[英]VS2008 Setup Project

I have a C# project, built using VS2008. 我有一个使用VS2008构建的C#项目。 It has a number of third party dependencies. 它具有许多第三方依赖性。 However, when I create a set-up project for it, the “Detected Dependencies” folder is empty. 但是,当我为其创建设置项目时,“检测到的依赖项”文件夹为空。 How do I either force it to detect these dependencies, or manually add them? 如何强制它检测这些依赖关系,或手动添加它们?

您必须添加另一个项目或某个其他程序集(可能是可执行文件)的输出,然后安装项目将自动检测依赖项并添加相应的程序集。

  • Within the Solution Explorer right click on the setup project and select Add - Project Output . 在解决方案资源管理器中,右键单击安装项目,然后选择“ 添加项目输出”
  • Now select your other project within the solution. 现在,在解决方案中选择其他项目。
  • The Detected Dependencies should be filled up. 检测到的依赖项应填写。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM