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

本文详细介绍了Visual Studio中配置管理对话框的使用方法,包括如何创建和编辑解决方案及项目的构建配置,选择活动解决方案配置和平台等内容。

原文地址: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.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ComponentModel.Win32Exception: Access is denied at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly) at System.Diagnostics.Process.get_MainModule() at AutoUpdater.lib.ClassCheckProIsRun.checkProcessForProName(String strProName) at AutoUpdater.FormUpdate.FormUpdate_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9179 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- AutoUpdater Assembly Version: 1.0.0.1 Win32 Version: 1.0.0.1 CodeBase: file:///D:/ERP/TH%20ERP/update/AutoUpdater.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9157 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
06-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值