HostAdapter.SetDebugInfo Method

Sets the specified debugging information for the project.

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

Syntax

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

instance.SetDebugInfo(exePath, commandLine, _
    workingDir)
public void SetDebugInfo(
    string exePath,
    string commandLine,
    string workingDir
)
public:
void SetDebugInfo(
    String^ exePath, 
    String^ commandLine, 
    String^ workingDir
)
public 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

HostAdapter Class

HostAdapter Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace