Skip to content
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

System.ArgumentOutOfRangeException when using trx file created by vstest.console.exe #27

Open
mawl opened this issue Nov 30, 2016 · 3 comments

Comments

@mawl
Copy link

mawl commented Nov 30, 2016

Attached you'll find two trx files. One generated by mstest, which works, the other by vstest.console.exe, which leads to System.ArgumentOutOfRangeException.

Seems that microsoft has changed the order of xml tags in it.

@mawl
Copy link
Author

mawl commented Nov 30, 2016

TestResults.zip

@sthirion
Copy link

In the Trxer.xslt, try changing the method RemoveAssemblyName (on line 13) to:

public string RemoveAssemblyName(string asm) 
{
  if(asm.IndexOf(',')>0) {
    return asm.Substring(0,asm.IndexOf(','));
  } else {return asm;}
}

@nieatnh
Copy link

nieatnh commented Dec 16, 2016

Hi @mawl i have the same problem, i created a pull request to fix the problem
#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants