Compartir a través de


SolutionBuild2.PublishProject Method

Publishes a project.

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

Syntax

'Declaration
Sub PublishProject ( _
    SolutionConfiguration As String, _
    ProjectUniqueName As String, _
    WaitForPublishToFinish As Boolean _
)
void PublishProject(
    string SolutionConfiguration,
    string ProjectUniqueName,
    bool WaitForPublishToFinish
)
void PublishProject(
    String^ SolutionConfiguration, 
    String^ ProjectUniqueName, 
    bool WaitForPublishToFinish
)
abstract PublishProject : 
        SolutionConfiguration:string * 
        ProjectUniqueName:string * 
        WaitForPublishToFinish:bool -> unit
function PublishProject(
    SolutionConfiguration : String, 
    ProjectUniqueName : String, 
    WaitForPublishToFinish : boolean
)

Parameters

  • SolutionConfiguration
    Type: String

    The solution configuration to publish.

  • ProjectUniqueName
    Type: String

    The unique name of a project to publish.

  • WaitForPublishToFinish
    Type: Boolean

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

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.

.NET Framework Security

See Also

Reference

SolutionBuild2 Interface

EnvDTE80 Namespace