Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to Read CodeAnalysisLog XML File?
    primarykey
    data
    text
    <p>I'm trying to automatically trigger a code analysis software called NDepend on the postbuild event of an automated build in TFS 2010 (If you'd like more details on this, please see <a href="https://stackoverflow.com/questions/4620439/tfs-2010-code-metrics-integration-automated-builds-fail-code-metrics-dont-run">this</a>).</p> <p>I added this code in:</p> <pre><code>&lt;Target Name="NDepend" &gt; &lt;PropertyGroup&gt; &lt;NDPath&gt;c:\tools\NDepend\NDepend.console.exe&lt;/NDPath&gt; &lt;NDProject&gt;$(SolutionDir)MyProject.ndproj&lt;/NDProject&gt; &lt;NDOut&gt;$(TargetDir)NDepend&lt;/NDOut&gt; &lt;NDIn&gt;$(TargetDir)&lt;/NDIn&gt; &lt;/PropertyGroup&gt; &lt;Exec Command='"$(NDPath)" "$(NDProject)" /OutDir "$(NDOut)" /InDirs "$(NDIn)"'/&gt; &lt;/Target&gt; </code></pre> <p>Much like I did in one of my attempts previously. It built fine, no errors, but I didn't see any immediate signs of the NDepend running. However, on a hunch, I decided to check the drop folder from the automated build and I found some XML files labeled "<em>blah</em>.CodeAnalysisLog" And I didn't recall these being there in previous versions, so I tried to open them, thinking it might be the NDepend analysis. But when I clicked it, Internet Explorer displayed <a href="https://i.stack.imgur.com/v8o4b.png" rel="nofollow noreferrer">as follows</a>:</p> <blockquote> <p>The XML page cannot be displayed</p> <p>Cannot view XML input using XSLT style sheet. Please correct the error and then click the Refresh button, or try again later.</p> <p>Access is denied.</p> </blockquote> <p>Has anyone experienced this issue? And if so, what is causing it? Is it something to do with the NDepend XML I added above? Or is this error completely unrelated to the NDepend XML I've added?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload