Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to: Specify Post-Instrument Events

Visual Studio 2005

Post-instrument events specify actions that occur after a binary is instrumented. Commands that can be issued from the command line prompt can be specified as a post-instrument event. For example, you can specify commands that, as part of the post-instrument event, automate the resigning of an assembly with a strong name key.

To specify post-instrument event

  1. In Performance Explorer, select the Performance Session and then right-click and select Properties.

    The Property Pages dialog box is displayed.

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

  3. Under Post-Instrument events, type a command in the Command line box.

    -Or-

    Click (…) adjacent to the Command line box, and select the appropriate .exe, .cmd, or .bat file.

  4. Click OK.

    To disable the command from executing without removing it, select the Exclude from instrumentation check box.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.