SolutionBuild2.PublishProject(String, String, Boolean) Method

Definition

Publishes a project.

void PublishProject(std::wstring const & SolutionConfiguration, std::wstring const & ProjectUniqueName, bool WaitForPublishToFinish = false);
[System.Runtime.InteropServices.DispId(101)]
public void PublishProject (string SolutionConfiguration, string ProjectUniqueName, bool WaitForPublishToFinish = false);
[<System.Runtime.InteropServices.DispId(101)>]
abstract member PublishProject : string * string * bool -> unit
Public Sub PublishProject (SolutionConfiguration As String, ProjectUniqueName As String, Optional WaitForPublishToFinish As Boolean = false)

Parameters

SolutionConfiguration
String

The solution configuration to publish.

ProjectUniqueName
String

The unique name of a project to publish.

WaitForPublishToFinish
Boolean

If true, the call waits until publish has completed. If false, the call returns immediately.

Attributes

Remarks

You can use the OnPublishBegin event to determine when a publish operation has started and the OnPublishDone event to determine when it has completed.

Applies to