在 Visual Studio 2008 中为项目解决方案创建设置 [英] create setup for the project solution in visual studio 2008

查看:48
本文介绍了在 Visual Studio 2008 中为项目解决方案创建设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我对工资单申请的最后一个查询是 -

So my final query for my payroll application is -

如何为薪资应用程序创建设置?
我需要知道的一切-

How can I create a setup for payroll application?
All I need to know-

  1. 如何将安装项目添加到我现有的解决方案中
  2. 如何将解决方案中的文件添加到设置项目以及要添加哪些文件添加以及在什么文件夹中(即默认情况下有三个文件夹应用程序文件夹、用户桌面、用户开始菜单)
  3. 什么是结果文件,它将为一个 exe 文件提供服务工资单申请

我已阅读以下教程,但没有得到真正的解决方案.

I have read below tutorial but I am not getting the real solution.

http://msdn.microsoft.com/en-us/library/vstudio/2kt85ked%28v=vs.100%29.aspx

推荐答案

一种向项目添加设置的简单方法.

(1) 文件 -> 新建项目 -> 其他项目类型-> 安装和部署 -> Visual Studio 安装程序

A simple way to add setup to your project.

(1) File -> New Project -> Other Project Types -> Setup and Deployment -> Visual Studio Installer

(2) 为您的设置项目添加一个名称.

(2) Add a name to your setup project.

(3) 右键应用程序文件夹 -> 添加 -> 项目输出

(3) Right click Application Folder -> Add -> project output

(4) ****选择您各自项目的解决方案您的主要输出.."****

(4) ****Select your respective project's solution "primary output from yours.."****

(5) ****添加相应的第 3 方 dll.****//永远不要忘记这个.

(5) ****Add the respective 3rd party dlls.**** // Never forget this one.

(6) 在解决方案资源管理器中右键单击设置项目并构建它.

(6) Right click setup project in solution explorer and BUILD it.

(7)在调试文件夹中找到相应的设置(默认)

(7) Find the respective setup in debug folder(by default)

您将在文件夹中获得 .exe.msi.

You will get the .exe and .msi in the folder.

您可以在DebugRelease 之间更改配置

You can change the configuration between Debug and Release,

  • 在解决方案资源管理器中右键单击安装项目 -> 属性.

  • Right click the setup project in solution explorer -> Properties.

您将找到一个配置并选择相应的配置.

You will find a configuration and select the respective one.

检查这个什么是发布和调试模式之间的区别?

希望你理解.

这篇关于在 Visual Studio 2008 中为项目解决方案创建设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆