I have a build that uses the MSBuild build runner. In the build file I have a section that executes an FXCop test:
I then specify "ExampleProject.FxCop.xml" in the artifact path. If I open the XML file in the output folder or in the build server folder's artifact folder through windows the file opens up correctly. If I open it through TeamCity I get this error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Access is denied. Error processing resource 'file:///c:/program files/microsoft fxcop 1.36/Xml/FxCopReport.xsl'.
Can anyone offer any help? Is there a better way to integrate FxCop results?