asp.net-mvc - "It is not possible to profile 32-bit and 64-bit applications at the same time"错误

标签 asp.net-mvc asp.net-mvc-3 visual-studio visual-studio-2012 profiling

我正在使用“分析”->“启动性能向导...”在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,但这无济于事。什么会导致这种错误,我该如何解决?

最佳答案

看来我包含了多个项目,而不是我尝试描述的唯一项目(因此,可能有一个项目被编译为不同的体系结构)。选择仅我的单个项目后,分析工作正常。

关于asp.net-mvc - "It is not possible to profile 32-bit and 64-bit applications at the same time"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19629945/

相关文章:

asp.net - 如何防止执行特定的自定义操作过滤器

c# - 使脚本包包含另一个脚本包

c# - 如何自动生成免费接收和存储服务的构造函数?

asp.net-mvc - 带有方法的 ASP.NET MVC ViewModel - 是 "legal"吗?

asp.net-mvc - 如何在 MVC3 中使用带有自定义验证属性的不显眼的 JS 验证?

javascript - 有没有办法将javascript值传递给 View 中的模型

visual-studio - 部分声明不得在 Xamarin 中指定不同的基类

c# - 安全地编写依赖于相同文件资源的单元测试?

asp.net - 我应该在 N 层应用程序中的什么地方实现电子邮件逻辑?

javascript - 从 MVC 3 Razor View 变量中转义单引号