IVstaHostAdapter.SetDebugInfo Method

Sets the specified debugging information for the project.

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
Sub SetDebugInfo ( _
    exePath As String, _
    commandLine As String, _
    workingDir As String _
)
'Usage
Dim instance As IVstaHostAdapter 
Dim exePath As String 
Dim commandLine As String 
Dim workingDir As String

instance.SetDebugInfo(exePath, commandLine, _
    workingDir)
void SetDebugInfo(
    string exePath,
    string commandLine,
    string workingDir
)
void SetDebugInfo(
    String^ exePath, 
    String^ commandLine, 
    String^ workingDir
)
function SetDebugInfo(
    exePath : String, 
    commandLine : String, 
    workingDir : String
)

Parameters

  • exePath
    Type: System.String

    The full path of the application to run when the debugging session starts.

  • commandLine
    Type: System.String

    The parameters to pass to the target application.

  • workingDir
    Type: System.String

    The working directory of the target application.

Remarks

You can also set this information manually in the project template.

Add replacement variables to exePath, commandLine, and workingDir if you want these parameters to be supplied at run time.

.NET Framework Security

See Also

Reference

IVstaHostAdapter Interface

IVstaHostAdapter Members

Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace