忽然分析程序的时候VSP2340环境变量的问题 [英] VSP2340 Environment variable issues suddenly when profiling an app

查看:385
本文介绍了忽然分析程序的时候VSP2340环境变量的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以解释为什么我试图做任何形式的从内部VS2012性能分析(同样的方式,我总是有)时,我突然得到这个。

Can anybody explain why i'm suddenly getting this when trying to do any kind of performance profiling (the same way i always have) from within VS2012.

VSP2340: Environment variables were not properly set during profiling run and managed symbols may not resolve.  Please use vsperfclrenv before profiling.



我GOOGLE和尝试了一些东西,但我无法找出如何获得这从内部VS2012再次合作

I've googled and tried a few things, but i'm unable to find out how to get this working from within VS2012 again.

我发现有人用同样悬而未决的问题在几个星期回到这里:的 vS2013:" VSP2340:环境变量设置不正确"甚至从IDE 提前运行

I found somebody with the same unanswered issue a couple of weeks back here: VS2013: "VSP2340: Environment variables were not properly set" even when running from IDE

感谢时。

推荐答案

我对Visual Studio的2012年同样的问题,请按照下列步骤:

I've had the same issue on Visual Studio 2012. Follow the steps below:


  • 开始 - 所有程序 - 微软的Visual Studio

  • 命令提示符打开Visual Studio工具

  • 右键点击打开VS2012或x64原生工具命令提示符,并选择以管理员身份运行 - 2012。运行 vsperfclrenv / globalsampleon

  • 重新启动机器

  • Start - All Programs - Microsoft Visual Studio 2012 - Visual Studio Tools
  • Right click "Open VS2012 x64 Native Tools Command Prompt" and select run as administrator
  • The command prompt opens. Run vsperfclrenv /globalsampleon
  • Reboot machine

这篇关于忽然分析程序的时候VSP2340环境变量的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆