Getting the functionality of legacy powertool metrics in VS2017?

In the latest earlier versions of Visual Studio (i.e.: earlier than VS2017), Microsoft has released a separate performance metrics syntax that can be run through the command line and create XML containing specific code metrics (e.g., lines of code, and maintainability) for your code base . Details about this tool.

As far as I can tell, they have not released a version of this tool that works based on the installation of VS2017. While the VS2017 IDE contains a tool for generating and even exporting these metrics (under "Analysis →" Calculate Code Metrics "), I cannot figure out how to use it using the command line so that the process can be automated.

Is there any way to do this without third-party software?

+4
source share
1 answer

For VS2017, there is currently no command line support for "Calculate Code Metrics" - as you say, it is only present in the IDE.

visual studio PowerPoint CodeMetrics.

, - Power Tool VS2017:

https://developercommunity.visualstudio.com/content/problem/142328/code-metrics-powertool-missing-for-vs2017.html

Visual Studio , .

.

0

Source: https://habr.com/ru/post/1682348/


All Articles