当我试图在Visual Studio 2013中运行代码度量对于C#项目(分析 - >计算代码度量的解决方案)我得到以下错误:
When I tried to run code metrics in Visual Studio 2013 for c# project (Analyze -> Calculate Code Metrics for Solution) I get following error:
"an error occurred while calculating code metrics"发生,即使是新建项目这个错误,所以它不具有一定的参考有关问题。
This error occurred even for the newly created project, so it was not related with some reference issues.
为了解决这个问题,我下面的命令以管理员身份运行:
To solve this issue I've executed following command as an Administrator:
regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\VsLangproj.olb"结论
- 我已经验证了这个问题不与更新4发生在新安装的VS 2013(安装程序包括在内),这意味着,这可能与更新更新4有关。 推荐答案
对于为数不多的我的Visual Studio项目是指参照其源不可用,如下面的图像中的问题:
For the issue that the few of my Visual Studio projects was referring reference for which the source was not available, as shown in the image below:
的
删除这些引用启用码矩阵功能将再次合作。
Removing those reference enabled the Code Matrices functionalities to be working again.
更多推荐
计算代码度量时发生错误
发布评论