IVsSolutionMSBuildProjectServiceFactory.GetMSBuildProjectDataServiceAsync 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.
Gets the MsBuild project data service for a particular configuration.
If the parameter passed is null, then the service for active configuration is returned.
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Extensions.MSBuild.IMSBuildProjectDataService> GetMSBuildProjectDataServiceAsync (string projectFile, string projectConfiguration = default, System.Collections.Generic.IDictionary<string,string> projectProperties = default);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Extensions.MSBuild.IMSBuildProjectDataService> GetMSBuildProjectDataServiceAsync (string projectFile, string? projectConfiguration = default, System.Collections.Generic.IDictionary<string,string>? projectProperties = default);
abstract member GetMSBuildProjectDataServiceAsync : string * string * System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Extensions.MSBuild.IMSBuildProjectDataService>
Public Function GetMSBuildProjectDataServiceAsync (projectFile As String, Optional projectConfiguration As String = Nothing, Optional projectProperties As IDictionary(Of String, String) = Nothing) As Task(Of IMSBuildProjectDataService)
Parameters
- projectFile
- String
Path of the project file
- projectConfiguration
- String
Project configuration
- projectProperties
- IDictionary<String,String>
Project properties
Returns
MsBuild project data service instance