ConfigurationManager::AddPlatform Method (String^, String^, Boolean)
Visual Studio 2015
Creates build settings for a new operating system platform based on the Configuration object of an existing platform.
Assembly: EnvDTE (in EnvDTE.dll)
Parameters
- NewName
-
Type:
System::String^
Required. The name of the new platform as found in the SupportedPlatforms property.
- ExistingName
-
Type:
System::String^
Required. The name of the platform to copy in order to create the new one.
- Propagate
-
Type:
System::Boolean
Required. true if the platform should be propagated, false if not.
AddPlatform returns a collection of new Configuration objects. If the value provided to ExistingName is not in the SupportedPlatforms property, then AddPlatform fails. If the value provided to NewName already exists for this project, then AddPlatform fails and alerts you that the ExistingName settings were not copied.
Show: