Share via


IManagedIntellisenseService.GetMSBuildCommandLineArgsAsync Method

Definition

Get the Managed command line arguments for an MSBuild project

public:
 System::Threading::Tasks::Task<Nullable<Microsoft::VisualStudio::Workspace::Extensions::ManagedCommandLineInfo>> ^ GetMSBuildCommandLineArgsAsync(System::String ^ msbuildProjectPath, System::String ^ projectBuildConfiguration, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ globalProperties, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo?> GetMSBuildCommandLineArgsAsync (string msbuildProjectPath, string projectBuildConfiguration, System.Collections.Generic.IDictionary<string,string> globalProperties, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo?> GetMSBuildCommandLineArgsAsync (string msbuildProjectPath, string projectBuildConfiguration, System.Collections.Generic.IDictionary<string,string>? globalProperties, System.Threading.CancellationToken cancellationToken);
abstract member GetMSBuildCommandLineArgsAsync : string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo>>
Public Function GetMSBuildCommandLineArgsAsync (msbuildProjectPath As String, projectBuildConfiguration As String, globalProperties As IDictionary(Of String, String), cancellationToken As CancellationToken) As Task(Of Nullable(Of ManagedCommandLineInfo))

Parameters

msbuildProjectPath
String

MSBuild project file path

projectBuildConfiguration
String

The project configuration

globalProperties
IDictionary<String,String>

Optional properties

cancellationToken
CancellationToken

Cancellation token

Returns

The Managed Command line info

Applies to