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

来源:互联网 发布:国外听歌软件 编辑:程序博客网 时间:2024/05/16 03:04

原文地址: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)”问题,在稍后的文章中,详细介绍。

 

Configuration Manager Dialog Box

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.

 

Active solution configuration

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.

 

Active solution platform

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.

 

Project 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.

 

Project

Displays the names of projects found in the current solution.

 

Configuration

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.

 

Platform

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.