Visual Studio Team System
How to: Install the Stand-Alone Profiler

Visual Studio provides a command line based stand-alone profiler that can be run without installing the Visual Studio IDE. This situation occurs when a computer does not or cannot have a development environment installed. For example, you should not install a development environment on a production Web server.

To install the stand-alone profiler

  1. Locate the stand-alone profile installer (vs_profiler.exe) on the Visual Studio Team System installation media in the directory that includes the vs\wcu\Profiler path and run it.

  2. Add the paths for vsintr.exe and msdis150.dll to the system path.

    Bb385771.alert_note(en-us,VS.90).gifNote:

    In the default installation of Visual Studio, vsinstr.exe and msdis150.dll are located in \Program Files\Visual Studio 9\Team Tools\Performance Tools.

  3. At the command prompt, type VSInstr.

    Bb385771.alert_note(en-us,VS.90).gifNote:

    If the usage information for vsinstr.exe is displayed, everything is set up correctly. If you see an error that states vsinstr.exe or one of its dependencies is not found, make sure that you have your paths set up correctly as described in step 2.

  4. Set up symbol server by setting your _NT_SYMBOL_PATH variable to symsrv*symsrv.dll*c:\localcache*http://msdl.microsoft.com/download/symbols

  5. After you set up your symbol server by using the system environment variables, run the command line profiler tools at a new command prompt. This allows the new environment variables to take effect. From the command-line window, type:

    start %COMSPEC%

    Bb385771.alert_note(en-us,VS.90).gifNote:

    For detailed instructions about how to set up symbol server package, see How to: Reference Windows Symbol Information.

  6. Use the VSPerfReport tool to serialize your symbols into the profiling data (.vsp) file. Use the VSPerfReport /summary:all /packsymbols switches. If you do not have symbols inserted in your data file, make sure that you have the _NT_SYMBOL_PATH environment variable set.

See Also

Tasks

Reference

Other Resources

Tags :


Community Content

Chris Schmich
VS2008 standalone profiler installer location
For VS2008, the standalone profiler installer (vs_profiler.exe) is located at D:\Standalone Profiler\{x86, x64}\vs_profiler.exe assuming your installation media is rooted at D:.
Tags :

Volodymyr Obrizan
VSCover90.dll is needed to run instrumented bineries
I've tried to run my application after instrumenting for code coverage, but I got system.dllnotfoundexception. I found out that VSCover90.dll is needed, which is located in Windows\System32 on machine with MS VS 2008.
Tags :

Page view tracker