ConfigManager Properties

MSBuild Extension Pack

ConfigManager Properties MSBuild Extension Pack Help 4.0.12.0

The ConfigManager type exposes the following members.

Properties

  Name Description
Public property ConfigurationFileType
Which .NET framework configuration file to update. Supports WebConfig and MachineConfig. Default is MachineConfig
Public property Path
Sets the Path to work on. Leave blank to target the .net framework web.config
Public property ProtectionProvider
The encryption provider. Supports RSAProtectedConfigurationProvider and DataProtectionConfigurationProvider. Default is RSAProtectedConfigurationProvider
Public property SaveMode
How should changes to the config file be saved? See http://msdn.microsoft.com/en-us/library/system.configuration.configurationsavemode.aspx for the list of values. Default is Minimal
Public property Section
The config section to protect or unprotect
Public property SettingName
The setting name to update.
Public property SettingValue
The setting's value.
Public property Site
Sets the Site to work on. Leave blank to target the .net framework web.config
Top
See Also

Reference