9

我正在使用“分析”->“启动性能向导...”在 Visual Studio 2012 中为 ASP.NET MVC 3 项目启动性能分析器,然后选择“仪器”并选择我的项目(因为我需要测量计时并确定最长的函数调用)。

但这给出了错误消息

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

并且分析过程终止。我尝试将平台目标更改为 x86、x64、任何 CPU,但这无济于事。什么会导致这样的错误,我该如何解决?

4

1 回答 1

12

It appeared that I had multiple projects included, not the only one I've tried to profile (so it is possible that one of that projects was compiled to different architecture). After choosing only my single project profiling worked correctly.

于 2013-10-30T09:49:08.443 回答