SolutionBuild2::PublishProject Method (String^, String^, Boolean)

 

Publishes a project.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

void PublishProject(
	String^ SolutionConfiguration,
	String^ ProjectUniqueName,
	bool WaitForPublishToFinish = false
)

Parameters

SolutionConfiguration
Type: System::String^

The solution configuration to publish.

ProjectUniqueName
Type: System::String^

The unique name of a project to publish.

WaitForPublishToFinish
Type: System::Boolean

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

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

Return to top
Show: