Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio .NET
Reference
Properties
 ConfigurationOverrideFile Property
Visual Basic and Visual C# Project Extensibility
ConfigurationOverrideFile Property

Specifies which .config file is deployed with a configuration.

[Visual Basic .NET]
Public Property ConfigurationOverrideFile () As String
[Visual Basic 6]
Property Get ConfigurationOverrideFile () As String
Property Let ConfigurationOverrideFile ( _
   ByVal ConfigFile As String _
) 
[C++]
HRESULT __stdcall get_ ConfigurationOverrideFile (
   /* [out, retval] */ BSTR* retVal
);
HRESULT __stdcall put_ ConfigurationOverrideFile (
   /* [in] */ BSTR ConfigFile
);
[C#]
string ConfigurationOverrideFile {get; set;}
[JScript .NET]
public function get ConfigurationOverrideFile () : String
public function set ConfigurationOverrideFile (
   ConfigFile: String
)

Parameters

ConfigFile
File name of the configuration file.

Remarks

The configuration (.config) file contains properties that configure your Web project or Web service. A project may contain several configuration files, each tailored to a specific deployment scenario. This property, which is used on a per-deployment-configuration basis, specifies which .config file is deployed with the configuration.

The file specified by the ConfigurationOverrideFile property will be renamed to web.config when the project is deployed.

This property is meaningful only for Web projects.

See Also

Properties Property (Visual Basic and Visual C# Configuration Object) | Properties Property (General Extensibility)

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker