How to: Relocate Instrumented Binaries

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here

During instrumentation, probes are inserted into the binary to measure application performance. By choosing to relocate the instrumented binary, a copy of the original binary is instrumented and put in the specified location. This option is useful if you do not want the profiler to rename your original binary. If the binary is not relocated, the original version of the binary is overwritten.

Requirements

  • Visual Studio Ultimate, Visual Studio Premium, Visual Studio Professional

To relocate instrumented binary

  1. In Performance Explorer, right-click the performance session, and then click Properties.

  2. In the Property Pages, click the Binary properties.

  3. Select the Relocate instrumented binaries check box.

  4. Specify the location for the instrumented binary.

See Also

Configuring Performance Sessions
VSInstr