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

The path is empty. (Parameter 'path') #775

Closed
Adam-RapidRTC opened this issue Mar 23, 2020 · 22 comments · Fixed by #1073
Closed

The path is empty. (Parameter 'path') #775

Adam-RapidRTC opened this issue Mar 23, 2020 · 22 comments · Fixed by #1073
Labels
bug Something isn't working tenet-reporters Issue related to coverage output files(reporters)

Comments

@Adam-RapidRTC
Copy link

Adam-RapidRTC commented Mar 23, 2020

Having an issue generating the report. The project is SDK format but references older projects. When I run'

(actual paths omitted)
dotnet test "....csproj" --configuration Release --filter Category!=IntegrationTest --logger:trx --results-directory "...\TestResults" --settings "....runsettings" /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput="....Tests.cobertura.xml"

I get the following error

Calculating coverage result...
Generating report '....Tests.cobertura.xml'
....nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : The path is empty. (Parameter 'path') [....Tests.csproj]
...nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at System.IO.Path.GetFullPath(String path) [...Tests.csproj]
....nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at System.IO.Directory.GetDirectoryRoot(String path) [....Tests.csproj]
....nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at System.Linq.Lookup2.Create(IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer) [....Tests.csproj]
...nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at System.Linq.GroupedEnumerable2.GetEnumerator() [...Tests.csproj] ...\.nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at System.Linq.Enumerable.SelectEnumerableIterator2.ToList() [...Tests.csproj]
....nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at Coverlet.Core.Reporters.CoberturaReporter.Report(CoverageResult result) in D:\git\coverletToRelease\src\coverlet.core\Reporters\CoberturaReporter.cs:line 34 [...Tests.csproj]
C:\Users\aharris.nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at Coverlet.MSbuild.Tasks.ReportWriter.WriteReport() in D:\git\coverletToRelease\src\coverlet.msbuild.tasks\ReportWriter.cs:line 50 [....Tests.csproj]
....nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(36,5): error : at Coverlet.MSbuild.Tasks.CoverageResultTask.Execute() in D:\git\coverletToRelease\src\coverlet.msbuild.tasks\CoverageResultTask.cs:line 145 [...Tests.csproj]

This works for several other projects in the solution that don't have a reference to older projects.

I also noticed I get these warnings when building:

....nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(7,5): warning : [coverlet] Unable to instrument module: ...Tests\bin\Debug\net472\Microsoft.ReportViewer.Common.dll because : No symbol found for file: ....Tests\bin\Debug\net472\Microsoft.ReportViewer.Common.dll [....Tests.csproj]
...\aharris.nuget\packages\coverlet.msbuild\2.8.0\build\coverlet.msbuild.targets(7,5): warning : [coverlet] Unable to instrument module: ....Tests\bin\Debug\net472\Microsoft.ReportViewer.WebForms.dll because : No symbol found for file: ....Tests\bin\Debug\net472\Microsoft.ReportViewer.WebForms.dll [....Tests.csproj]

@MarcoRossignoli MarcoRossignoli added bug Something isn't working tenet-reporters Issue related to coverage output files(reporters) labels Mar 24, 2020
@MarcoRossignoli
Copy link
Collaborator

MarcoRossignoli commented Mar 24, 2020

Hi Adam,

thank's for reporting this, can you try to generate a small repro?

@daveMueller seem an issue here https://github.com/tonerdo/coverlet/blob/master/src/coverlet.core/Reporters/CoberturaReporter.cs#L166 do you have any idea?

I also noticed I get these warnings when building:

Warnings are ok...we cannot instrument dll without local source so they're expected.

@MarcoRossignoli
Copy link
Collaborator

MarcoRossignoli commented Mar 28, 2020

@Adam-RapidRTC despite bug, can you try with collectors you already use runsettings, vstest integration is the better way to consume coverlet at the moment https://github.com/tonerdo/coverlet/blob/master/Documentation/VSTestIntegration.md

Never mind...you're on .NET Framework not .NET Core one.

@MarcoRossignoli
Copy link
Collaborator

@Adam-RapidRTC can you try to run in debug mode and tell me if the issue is still present?
I found the place of the issue, btw I'd like to understand how it's possible, seem that pdb for some project reports empty path file.
We can fix this particular issue inside report generation, but I'd like to understand why that empty path exists.

Are you able to create a small repro?

@Adam-RapidRTC
Copy link
Author

@MarcoRossignoli I will see if I can carve out some time today and create a sample repo that recreates the problem.

@MarcoRossignoli
Copy link
Collaborator

Thanks a lot!

@daveMueller
Copy link
Collaborator

@daveMueller seem an issue here https://github.com/tonerdo/coverlet/blob/master/src/coverlet.core/Reporters/CoberturaReporter.cs#L166 do you have any idea?

Yes seems the CoverageResult has a Document with a empty path. I could add a check for this but I'm not sure if the CoberturaReporter is the right place for this.
I guess the other reporters could also have a problem with such a CoverageResult.
So @Adam-RapidRTC a repro would help a lot to tackle this issue.

@Adam-RapidRTC
Copy link
Author

@daveMueller @MarcoRossignoli - Sorry for the delay but I'll work on getting that demo repo up for you today.

@MarcoRossignoli
Copy link
Collaborator

No prob no rush at your pace, thanks.

@MarcoRossignoli
Copy link
Collaborator

@Adam-RapidRTC any news?

@NerdBrez
Copy link

Any update about this issue?

@daveMueller
Copy link
Collaborator

@NerdBrez Are you facing the same issue with cobertura report? Could you create a small repro?

@NerdBrez
Copy link

Yes, I'm trying to generate a report on my xUnit test. The test project references an .Net framework 4.7.2 web application and performs 8 tests on some MVC controllers.
The tests pass but then coverlet raises the errors when generating the reports:

dotnet test lqe.web.test --framework net472 --no-build /p:CollectCoverage=true /p:CoverletOutput=../TestResults/Coverage/ /p:MergeWith="../TestResults/Coverage/coverage.json" /p:CoverletOutputFormat="cobertura,json" -m:1

C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] BadImageFormatException during MetadataReaderProvider.FromPortablePdbStream in InstrumentationHelper.PortablePdbHasLocalSource, unable to check if module has got local source. [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(31,5): warning : [coverlet] Unable to instrument module: C:\Repos\Lqe\Code\Lqe\lqe.web.test\bin\Debug\Microsoft.Web.Infrastructure.dll because : No symbol found for file: C:\Repos\Lqe\Code\Lqe\lqe.web.test\bin\Debug\Microsoft.Web.Infrastructure.dll [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
Série de tests pour C:\Repos\Lqe\Code\Lqe\lqe.web.test\bin\Debug\Lqe.Web.Test.dll(.NETFramework,Version=v4.7.2)
Outil en ligne de commande d'exécution de tests Microsoft (R), version 16.8.1
Copyright (c) Microsoft Corporation. Tous droits réservés.

Démarrage de l'exécution de tests, patientez...
Au total, 1 fichiers de test ont correspondu au modèle spécifié.

Réussi! - Failed: 0, Passed: 8, Skipped: 0, Total: 8, Duration: 1 s- Lqe.Web.Test.dll (net472)

Calculating coverage result...
Generating report '..\TestResults\Coverage\coverage.cobertura.xml'
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : The path is empty. (Parameter 'path') [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at System.IO.Path.GetFullPath(String path) [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at System.IO.Directory.GetDirectoryRoot(String path) [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at System.Linq.Lookup2.Create(IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer) [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at System.Linq.GroupedEnumerable2.GetEnumerator() [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj] C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at System.Linq.Enumerable.SelectEnumerableIterator2.ToList() [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at Coverlet.Core.Reporters.CoberturaReporter.Report(CoverageResult result) in //src/coverlet.core/Reporters/CoberturaReporter.cs:line 34 [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at Coverlet.MSbuild.Tasks.ReportWriter.WriteReport() in /
/src/coverlet.msbuild.tasks/ReportWriter.cs:line 50 [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]
C:\Repos\Lqe\Code\Lqe\packages\coverlet.msbuild.2.9.0\build\coverlet.msbuild.targets(60,5): error : at Coverlet.MSbuild.Tasks.CoverageResultTask.Execute() in /_/src/coverlet.msbuild.tasks/CoverageResultTask.cs:line 148 [C:\Repos\Lqe\Code\Lqe\lqe.web.test\Lqe.Web.Test.csproj]

@daveMueller
Copy link
Collaborator

Ok thanks. @NerdBrez can you share/attach your project to this issue? Or at least the parts that lead to this issue (maybe the controllers and the tests or so). Otherwise I will try to set up a sample to reproduce this.

@daveMueller
Copy link
Collaborator

Today I set up an MVC project with 4.7.2 framework and XUnit 2.4.1 unit tests. Unfortunately everything worked without a problem and I couldn't reproduce the issue described above. A small sample project that has the same error would help a lot.

@NerdBrez
Copy link

NerdBrez commented Jan 6, 2021

Hello,
My MVC application (C#) have a project reference to a library coded in VB in the same solution.
When I remove it from te coverage with the Exclude parameter, it works fine. No idea why...

@daveMueller
Copy link
Collaborator

Cool thanks for the info. I will give it a try with a additional VB class library in the solution. I'm currently really busy so it could take a couple of days to test this 🙏.

@daveMueller
Copy link
Collaborator

daveMueller commented Jan 21, 2021

The hint with the VB project that @NerdBrez provided was worth its weight. I set up a solution with an MVC project with XUnit and a VB class library project that let me reproduce this error. Here is the repo => https://github.com/daveMueller/coverlet775

grafik

Up to now I didn't find the time to debug into this but I will in the next days. Just to let you know that we are still on this. And at least we have a repro now 😉.

@daveMueller
Copy link
Collaborator

The issue is the My namespace in Visual Basic (My). Usually a sequence point has a reference to a source file like this.

grafik

In Visual Basic the compiler injects the My classes into the assembly without a reference to a source file.

grafik

Maybe there are also other scenarios where a sequence point doesn't have a reference to a source file that we haven't encountered yet. So I created a PR that excludes code like this within an assembly.

@daveMueller
Copy link
Collaborator

By the way I updated the repro to be a lot smaller than the first implementation (https://github.com/daveMueller/coverlet775).

@sebastianslutzky
Copy link

hi. this issue is still open, but is there a workaround? I am hitting the same problem with an old vb project I converted to sdk style

@daveMueller
Copy link
Collaborator

Hi @sebastianslutzky, I worked on the PR again and think it fixes the issue. I compiled the source locally and I would be happy if someone could give it try with the packages attached here.
Packages.zip

@TerryChan2
Copy link

Hi @daveMueller, I got the "The path is empty. (Parameter 'path')" when I use coverlet.console 3.2.0 in my test projects. I tried replace the files using your package and the error is gone!. When this fix will be officially released?

renovate bot referenced this issue in cythral/brighid-commands May 21, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5
-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3
-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6
-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5
-Allign published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3
\-Sync nuget and github release
version[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)22

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-commands).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
vbreuss referenced this issue in Testably/Testably.Abstractions May 21, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Testably/Testably.Abstractions).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ThorstenSauter referenced this issue in ThorstenSauter/NoPlan May 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 2am" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ThorstenSauter/NoPlan).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
vbreuss referenced this issue in Testably/Testably.Architecture.Rules May 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Testably/Testably.Architecture.Rules).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valentin Breuß <[email protected]>
bruxisma referenced this issue in bruxisma/atmosphere May 22, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [coverlet.collector](https://togithub.com/coverlet-coverage/coverlet)
| nuget | major | `3.2.0` -> `6.0.0` |
| [coverlet.msbuild](https://togithub.com/coverlet-coverage/coverlet) |
nuget | major | `3.2.0` -> `6.0.0` |

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/bruxisma/atmosphere).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
dariuszkuc referenced this issue in apollographql/federation-hotchocolate Oct 19, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [coverlet.msbuild](https://togithub.com/coverlet-coverage/coverlet) |
`3.2.0` -> `6.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/coverlet.msbuild/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/coverlet.msbuild/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/coverlet.msbuild/3.2.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/coverlet.msbuild/3.2.0/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>coverlet-coverage/coverlet (coverlet.msbuild)</summary>

###
[`v6.0.0`](https://togithub.com/coverlet-coverage/coverlet/releases/tag/v6.0.0)

Fixed
\-Could not write lines to file CoverletSourceRootsMapping - in use by
another
process[https://github.com/coverlet-coverage/coverlet/issues/1155](https://togithub.com/coverlet-coverage/coverlet/issues/1155)5\
\-Incorrect coverage for methods returning IAsyncEnumerable in generic
classes[https://github.com/coverlet-coverage/coverlet/issues/1383](https://togithub.com/coverlet-coverage/coverlet/issues/1383)3\
\-Wrong branch coverage for async methods .NET Standard
1.x[https://github.com/coverlet-coverage/coverlet/issues/1376](https://togithub.com/coverlet-coverage/coverlet/issues/1376)6\
\-Empty path exception in visual basic
projects[https://github.com/coverlet-coverage/coverlet/issues/775](https://togithub.com/coverlet-coverage/coverlet/issues/775)5\
\-Align published nuget package version to github release
version[https://github.com/coverlet-coverage/coverlet/issues/1413](https://togithub.com/coverlet-coverage/coverlet/issues/1413)3\
\-Sync nuget and github release
versions[https://github.com/coverlet-coverage/coverlet/issues/1122](https://togithub.com/coverlet-coverage/coverlet/issues/1122)2

Improvements
\-Migration of the project to .NET
6.0[https://github.com/coverlet-coverage/coverlet/pull/1473](https://togithub.com/coverlet-coverage/coverlet/pull/1473)3

Breaking changes
New parameter ExcludeAssembliesWithoutSources to control automatic
assembly exclusion
[https://github.com/coverlet-coverage/coverlet/issues/1164](https://togithub.com/coverlet-coverage/coverlet/issues/1164).
The parameter InstrumentModulesWithoutLocalSources has been removed.
since it can be handled by setting ExcludeAssembliesWithoutSources to
None.
The default heuristics for determining whether to instrument an assembly
has been changed. In previous versions any missing source file was taken
as a signal that it was a third-party project that shouldn't be
instrumented, with exceptions for some common file name patterns for
source generators. Now only assemblies where no source files at all can
be found are excluded from instrumentation, and the code for detecting
source generator files have been removed. To get back to the behaviour
that at least one missing file is sufficient to exclude an assembly, set
ExcludeAssembliesWithoutSources to MissingAny, or use assembly exclusion
filters for more fine-grained control.

[Diff between 3.2.0 and
6.0.0](https://togithub.com/coverlet-coverage/coverlet/compare/v5.7.2...v6.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/apollographql/federation-hotchocolate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tenet-reporters Issue related to coverage output files(reporters)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants