Partager via


Output

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Output option specifies the name of the profiling data file for the performance session. Output must be used with the Start option.

Syntax

VSPerfCmd.exe /Start:Method /Output:FileName [Options]

Parameters

FileName The name of the data file. Full and partial paths are accepted. If a path is not specified, the file is created in the current directory.

Required options

The Output option must be used with the Start option.

Start: Method Specifies the output file name.

Example

In the following example, the profiling data file is created in the current directory.

VSPerfCmd.exe /Start:Sample /Output:TestApp.exe.vsp

See also