title: Visual Studio C++ "Calculate Code Metrics" not functional
body: <p>I am using Visual Studio Community 2019 Preview (16.11.0 Preview 1.0).</p>
  <p>I'd like to calculate code metrics for a native C/C++ project but am having trouble. When starting Visual Studio the first time, I had the menu entry &quot;Analyze &gt; Calculate Code Metrics&quot;. When selected this created the tab &quot;Code Metric Results&quot; but it was empty. If I try to run again, the menu option was no longer available.</p>
  <p>If I try the suggestion in the issue reported at the following link, the menu option reappears:</p>
  <p><a href="https://developercommunity.visualstudio.com/t/cant-find-analyze-code-metrics-menu/1033841" rel="nofollow noreferrer">https://developercommunity.visualstudio.com/t/cant-find-analyze-code-metrics-menu/1033841</a></p>
  <p>However, when I select the option I get a popup with the following error message:</p>
  <blockquote>
  <p>Cannot calculate code metrics because none of the selected projects support code metrics or Visual Studio is debugging an application.</p>
  </blockquote>
  <p>I'm not debugging so my guess is that metrics are not supported in C/C++. Can someone confirm? If so, The documentation should state that and the option and tab should not be shown.</p>