Closed
Description
I am trying to exclude multiple things but always getting an error when executing it in powershell:
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput="..\lcov.info" /p:Exclude="[*]*Examples?,[*]*Startup"
Also tried this but no luck either:
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput="..\lcov.info" /p:Exclude=\"[*]*Examples?,[*]*Startup\"
Am I doing something wrong or is this a bug?
The response is in both cases. If used alone both of them work just fine.
MSBUILD : error MSB1006: Property is not valid.
Switch: [*]*Startup
Metadata
Metadata
Assignees
Labels
No labels