Sets the configuration property in MSBuild.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Friend Overridable Sub SetConfiguration ( _
config As String _
)
'使用
Dim config As String
Me.SetConfiguration(config)
protected internal virtual void SetConfiguration(
string config
)
protected public:
virtual void SetConfiguration(
String^ config
)
protected internal function SetConfiguration(
config : String
)
Parameters
config
Type: System.StringThe name of the configuration.
Remarks
This property does not get persisted. It is used to evaluate MSBuild conditions based on the $(Configuration) property.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.