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.
Sunday, November 07, 2010
Subscribe to:
Post Comments (Atom)
why your message is for ConsoleApplication, while u'r saying about IIS?
ReplyDeleteAnyways unfortunately your advice did not help
You are right, I work all day with IIS and asp.net and sometimes I have a lapsus...
ReplyDeleteAre you using ApplicationVerifier or Embassy Trust Suite? It seems that they interfer with the profiler.