-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: TRX file for VS: 2015: App crash (Fixed) #14
Comments
Thank you man :D |
Can you upload the exe as i was unable to compile it? |
Hi, |
I am still seeing APP Crash even after doing the change. Could you please let me know any other changes needs to be done |
Did you use the package I have shared? If you are still getting, better you open the project in VS and debug. I believe the error would be in the XSLT file. Some TRX files are a bit different w.r.to the VS version which causes this issue. In the code, you can remove transformations which you do not need (e.g. Top 5 slowest tests). |
@Praveenpvs Have you considered opening a PR for your change to allow support of VS 2015? |
Hi,
Thanks for this nice tool. Just now tested this with VS 2015 TRX file (generated from VSTest.Console.Exe).
Wanted to share a fix, so that it will help others in using this one.
Application is crashing at line where it is removing the namespace from the assembly name. So, just placed a condition in Trxer.xslt (line#13, RemoveAssemblyName method).
public string RemoveAssemblyName(string asm)
{
if (asm.IndexOf(',') > 0)
return asm.Substring(0,asm.IndexOf(','));
else
return asm;
}
Now, it started generating the file without any problems.
Some other issues might turn up, e.g. Duration not present etc, so just get the project and fix. I believe the fixes might be limited to the XSLT file.
The text was updated successfully, but these errors were encountered: