IProjectConfigurationService.GetBuildConfigurations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return all build configurations for a project file
public:
System::Collections::Generic::IEnumerable<System::String ^> ^ GetBuildConfigurations(Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext);
public System.Collections.Generic.IEnumerable<string> GetBuildConfigurations (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext);
public System.Collections.Generic.IEnumerable<string>? GetBuildConfigurations (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext);
abstract member GetBuildConfigurations : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext -> seq<string>
Public Function GetBuildConfigurations (projectFileContext As ProjectTargetFileContext) As IEnumerable(Of String)
Parameters
- projectFileContext
- ProjectTargetFileContext
The project file context
Returns
list of build configurations or null if not found