What 's wrong with VS2012 and Performance Analyzer?

随声附和 提交于 2019-12-23 07:06:29

问题


I am trying to do some perf. analysis on a piece of code that is dog slow... I start VS2012 Premium as Admin, load my solution and the go to 'Analyze - Launch Performance Wizard' Immediately I am shown a dialog that says:

Could not load file or assembly 'VSPerfReader.DLL' or one of its dependencies.

Awesome! The file is located here:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Team Tools\Performance Tools

I can start Windows Performance Analyzer (standalone) from 'start' just fine btw.


回答1:


Had the same issue, adding the following line to my system path variable and restarting visual studio did the trick.

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Team Tools\Performance Tools

Credit to Ade Miller in the comment for the solution.




回答2:


Same instructions as Ryan Taylor above but with a visual. My issue was with Visual Studio 2013 (after installing VS2015 SP1). The value I entered the new path variable is below.

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Performance Tools



来源:https://stackoverflow.com/questions/12252599/what-s-wrong-with-vs2012-and-performance-analyzer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!