title | ms.date | ms.topic | dev_langs | ms.assetid | author | ms.author | manager | ms.workload | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AssignProjectConfiguration Task | Microsoft Docs |
11/04/2016 |
reference |
|
09633a0b-8f6f-4aba-8058-7cb4d13ce2c0 |
ghogen |
ghogen |
jillfra |
|
This task accepts a list configuration strings and assigns them to specified projects.
The following table describes the parameters of the AssignProjectConfiguration
task.
Parameter | Description |
---|---|
ProjectReferences |
Required xref:Microsoft.Build.Framework.ITaskItem[] input parameter.The projects to configure. |
SolutionConfigurationContents |
Optional string output parameter.Contains an XML string containing a project configuration for each project. The configurations are assigned to the named projects. |
DefaultToVcxPlatformMapping |
Optional string output parameter.Contains a semicolon-delimited list of mappings from the platform names used by most types to those used by .vcxproj files. For example: "AnyCPU=Win32;X86=Win32;X64=X64" |
VcxToDefaultPlatformMapping |
Optionalstring output parameter.Contains a semicolon-delimited list of mappings from .vcxproj platform names to the platform names use by most types. For example: "Win32=AnyCPU;X64=X64" |
CurrentProjectConfiguration |
Optional string output parameter.Contains the configuration for the current project. |
CurrentProjectPlatform |
Optional string output parameter.Contains the platform for the current project. |
OnlyReferenceAndBuildProjectsEnabledInSolutionConfiguration |
Optional bool output parameter.Contains a flag indicating that references should be built even if they were disabled in the project configuration. |
ShouldUnsetParentConfigurationAndPlatform |
Optional bool output parameter.Contains a flag indicating if the parent configuration and platform should be unset. |
OutputType |
Optional string output parameter.Contains the output type for the project. |
ResolveConfigurationPlatformUsingMappings |
Optional bool output parameter.Contains a flag indicating if the build should use the default mappings to resolve the configuration and platform of the passed in project references. |
AssignedProjects |
Optional xref:Microsoft.Build.Framework.ITaskItem[] output parameter.Contains the list of resolved reference paths. |
UnassignedProjects |
Optional xref:Microsoft.Build.Framework.ITaskItem[] output parameter.Contains the list of project reference items that could not be resolved using the pre-resolved list of outputs. |
In addition to the parameters listed above, this task inherits parameters from the xref:Microsoft.Build.Tasks.TaskExtension class, which itself inherits from the xref:Microsoft.Build.Utilities.Task class. For a list of these additional parameters and their descriptions, see TaskExtension base class.