.NET 部署-04关于配置管理对话框(Configuration Manager Dialog Box)

原文地址 http://msdn.microsoft.com/en-us/library/t1hy4dhz(v=VS.80).aspx

 

在介绍 Web Deployment 项目时,也提到“配置管理对话框(Configuration Manager Dialog Box)”问题,本文在此说明。由于本文主要是讲如何设置,所以暂时不翻译。无论是“生成配置(Build Configurations)”,还是“配置管理对话框(Configuration Manager Dialog Box)”,都属于MSDN的“在Visual Studio中生成(Building in Visual Studio)”问题,在稍后的文章中,详细介绍。

 

配置管理对话框

Use this dialog box to create and edit solution build configurations and project configurations. Any changes you make to solution build configurations are reflected on the Configuration page of the Solution Property Pages dialog box. You can access the Configuration Manager from the Build menu, from the Solution Property Pages dialog box, or from the solution configuration drop-down in the main toolbar.

活动解决方案配置

Displays the available solution build configurations. Use either this drop-down list or the Configuration drop-down list on the main toolbar to change the active solution configuration. To create new solution configurations and modify existing ones, choose <New...> or <Edit...> from the drop-down list. 

活动解决方案平台

Displays the available platforms for which to build the solution. When you change the active solution platform, the change is applied to all projects in the solution. To create new solution platforms and modify existing ones, choose <New...> or <Edit...> from the drop-down list.

项目环境(contexts)

Each entry under Project contexts in the selected solution build configuration includes a project name, drop-down lists of configuration kinds and platforms, and check boxes for selecting those projects to be built and (if enabled) deployed. The combination of kind and platform chosen determines the project configuration that will be used. Click the column headers to sort the columns in the grid. 

项目

Displays the names of projects found in the current solution.

配置

Displays the kind of project build desired, and lists all of the available kinds of builds. To create a new kind of project build or rename an existing one, choose <New...> or <Edit...> from this drop-down list. 

平台

Displays the platform on which the desired build must run and lists all of the available platforms for the project. To add a new platform or edit an existing one, choose <New...> or <Edit...> from this drop-down list. The kind of project you are working with determines whether you can add more than one platform and what platforms are available for you to add to the project. When you add a platform for a project, a new project configuration is created.

生成(Build)

Specifies whether or not the project will be built by the current solution configuration. Projects not selected are not built, despite any project dependencies on them. Projects not selected to be built are still included in debugging, running, packaging, and deployment of the solution. 

部署(Deploy)

If enabled, specifies whether or not the project will be deployed when the Run or Deploy commands are used with the selected solution build configuration. This check box only appears for deployable projects.

posted @ 2010-11-09 13:40  船长&CAP  阅读(299)  评论(0编辑  收藏  举报
免费流量统计软件