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.

invalid Exclude parameter

See original GitHub issue

Hi,

trying to add more filter to the Exclude option but soon as I am trying to add a second one, separated by comma as indicated in the doc, I got this error:

dotnet test /p:CollectCoverage=true /p:CoverletOutput=Coverage\  --no-build /p:Exclude="[xunit.*]*,[*]DAL.ModelsV2.*"
MSBUILD : error MSB1006: Property is not valid.
Switch: [*]DAL.ModelsV2.*

For switch syntax, type "MSBuild /help"

corverlet version: 2.6.3

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
stumpyfrcommented, Jul 9, 2019

ok…msbuild doesn’t handle well ,, we are in 2019 😃. If you encode it %2c, it’s working well:

dotnet test /p:CollectCoverage=true /p:CoverletOutput=Coverage\  --no-build /p:Exclude="[xunit.*]*%2c[*]DAL.ModelsV2.*"

Thanks to https://github.com/Microsoft/msbuild/issues/471

1reaction
MarcoRossignolicommented, Jul 9, 2019

Actually it’s not so clear on guide, it’s under Note for Powershell / VSTS users maybe we should make it clearer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

xcopy returns error "Invalid number of parameters" when ...
XCOPY is an old command harking back to the days of DOS. It looks like the /EXCLUDE option was never updated to support...
Read more >
How do I remove duplicated by position SNPs using PLink?
dupvar --out HighDensity.DuplicatesRemoved Error: Invalid --exclude parameter sequence. it doesn't accept exclude , any other option?
Read more >
Export/Import DataPump Parameters INCLUDE and EXCLUDE
Export/Import DataPump Parameters INCLUDE and EXCLUDE - How to Load and Unload Specific Objects (Doc ... ORA-39001: invalid argument value
Read more >
Errors and warnings - PLINK 1.9 - cog-genomics.org
"Nonmissing nonmale Y chromosome genotype(s) present." This implies the presence of incorrect sex information and/or an incorrect chromosome set. Most PLINK ...
Read more >
--score ignore-dup-ids parameter seems to fail
Hi all,. I am trying to apply the --score function to my file containing effect sizes. The file has some duplicate SNP IDs,...
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