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.StringThe full path of the application to run when the debugging session starts.
commandLine
Type: System.StringThe parameters to pass to the target application.
workingDir
Type: System.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace