Bookmark and Share
Showing posts with label VS2008. Show all posts
Showing posts with label VS2008. Show all posts

Sunday, November 07, 2010

Howto enable performance profiling on IIS and VS2008

If you are using VS2008/2010 and you need to profile your code you can have the warning:

The profiling environment for ConsoleApplication2 is not set up correctly. Use vsperfclrenv.cmd to setup environment variables. Continue anyway?

The solution is to execute the vsperfclrenv.cmd located under:

C:\Program Files\Microsoft Visual Studio 9.0\Team Tools\Performance Tools>vsperfclrenv.cmd /globalsampleon

using the globalsampleon option.