MobDev
MobDev

Reputation: 163

Performing XSL Transformation in VSTS

As part of a build definition in VSTS I'm using a tool that produces an xml report.

To make the report easier to consume I'd like to perform an XSL transformation to produce an HTML version.

Is there a build step that can be used to achieve this?

Upvotes: 0

Views: 355

Answers (2)

Giulio Vian
Giulio Vian

Reputation: 8343

You can simply use the Powershell Task with similar inline code:

 $Xslt = New-Object System.Xml.Xsl.XslCompiledTransform
 $Xslt.Load($PathToXsltFile)
 $Xslt.Transform($PathToXmlSourceFile, $PathOfOutputFile)

Upvotes: 1

MobDev
MobDev

Reputation: 163

I was able to get this working using this NuGet package:

https://www.nuget.org/packages/ReSharperReports/

Upvotes: 0

Related Questions