"It is not possible to profile 32-bit and 64-bit applications at the same time"

I run the performance profiler for an ASP.NET MVC 3 project in Visual Studio 2012 using "Analysis" → "Launch Launch Wizard ...", and there selecting "Instrumentation" and selecting my project (because I need to measure time and determine longest function call).

But it gives an error message

It is not possible to profile 32-bit and 64-bit applications at the same time

and the profiling process ends. I tried to change the target platform for x86, x64, Any CPU, but this does not help. What can cause such an error and how to fix it?

+8
profiling visual-studio asp.net-mvc visual-studio-2012 asp.net-mvc-3
source share
1 answer

It seems that I had several projects, and not the only one that I tried to profile (so it is possible that one of these projects was compiled for a different architecture). After choosing only my profiling, one project worked correctly.

+12
source share

All Articles