-
Notifications
You must be signed in to change notification settings - Fork 386
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
I there a way to output multiple formats #161
Comments
@minuz yes there is. If you're using the MSBuild package separate the formats using a comma ( |
@tonerdo thanks for the quick response. However, I've tried the following:
But this is not working. If I duplicate the |
@minuz @rycornell the error is as a result of a limitation with MSBuild command line parsing. You have to escape comma separated property values. dotnet test -c Release --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=\"cobertura,opencover\" |
@tonerdo thanks!! I wasn't aware of that! It works now! |
To get this to work on TFS, you'll need to put the entire arguments line in quotes and escape the commas separated values: |
I'm trying to run in VSTS, but no success. I have used: Checking my private agent logs: C:\agent_diag\Worker_20180814-210029-utc.log
|
Now it's working, with a little modification:
|
For someone that this information can be useful, on Windows =( do you need do this: |
Is there any way to output multiple formats?
For instance, I would like to output in cobertura and open cover formats at the same time for integration on build server.
The text was updated successfully, but these errors were encountered: