question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

For MSBuild integration multiple output formats does not work

See original GitHub issue

My unit test project contains coverlet.msbuild package. When I run dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover,lcov I received

MSBUILD : error MSB1006: Property is not valid.
Switch: lcov

For switch syntax, type "MSBuild -help"

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
MarcoRossignolicommented, Dec 3, 2019

Ah ok sorry it was on guide try with PS C:\git\coverlet> dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat="opencover%2clcov" %2c is translated to comma.

1reaction
MarcoRossignolicommented, Dec 3, 2019

Is already present…but yes a bit cryptic and hidden

To exclude or include multiple assemblies when using Powershell scripts or creating a .yaml file for a VSTS build %2c should be used as a separator. Msbuild will translate this symbol to ,

Read more comments on GitHub >

github_iconTop Results From Across the Web

For MSBuild integration multiple output formats does not work
My unit test project contains coverlet.msbuild package. When I run dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover ...
Read more >
What would be a reason for msbuild yo put out different ...
Hi @hakubex, The output file contain some packages, if it already exists locally, it will not be generated again, please clean the local...
Read more >
The SonarScanner for MSBuild integration failed: SonarQube ...
I had this issue with a self-hosted agent pool in Azure DevOps where a single VM would run multiple builds in parallel. There's...
Read more >
MSBuild reference for .NET SDK projects
This page is a reference for the MSBuild properties and items that you can use to configure .NET projects. Note. This page is...
Read more >
MSBuild No outputs for project [x] were provided, but the ...
I have an InstallShield 2010 project with Visual Studio integration. The installer builds fine within VS IDE, but when I try to build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found