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.
The State – Sort of – of HTML5 Audio
5 years ago