1
Vote

Crash if trx file missing

description

C:\ccroot>trx2html-0.7.2\trx2html.exe x.trx
trx2html.exe
Create HTML reports of VSTS TestRuns. (c)rido'11
version:0.7.2.3739


Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'C:\ccroot\x.trx'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShar
e share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea
n useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileO
ptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
at trx2html.VersionFinder.GetFileVersion(String file)
at trx2html.ReportGenerator.GenerateReport(String fileName)
at trx2html.Program.Main(String[] args)

C:\ccroot>

comments

xsumo wrote Jan 30, 2013 at 12:43 AM

Hi, your issue is for another project.

wrote Feb 13, 2013 at 11:28 PM