You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\coverlet.msbuild.targets(23,5): error : Index was out of range. Must be non-negative and less than the size of the collection. [C:\git\MyProject.Tests\MyProject.Tests.csproj]
C:\Users\xxx.nuget\packages\coverlet.msbuild\2.0.1\build\netstandard2.0\coverlet.msbuild.targets(23,5): error : Parameter name: index [C:\git\MyProject.Tests\MyProject.Tests.csproj]
The text was updated successfully, but these errors were encountered:
I have updated to the last version from Nuget (v2.0.1) and cannot reproduce this error in my tests.
I have executed the following command and both files are generate in folder:
dotnet test test/ducktales.tests/ducktales.tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"cobertura,opencover\" /p:CoverletOutputDirectory=coverage /p:Exclude="[NUnit3.*]*"
By using this /p:CoverletOutputFormat=\"cobertura,opencover\" it does work. But somehow on VSTS this escaping doesn't work correctly. Thx for your support!!
By providing multiple outputformats we get this error
dotnet test myProject.csproj --no-build --configuration release --logger trx /p:CollectCoverage=true /p:CoverletOutputFormat="cobertura,opencover" /p:CoverletOutputDirectory=C:\temp\coverage --results-directory C:\temp
\coverlet.msbuild.targets(23,5): error : Index was out of range. Must be non-negative and less than the size of the collection. [C:\git\MyProject.Tests\MyProject.Tests.csproj]
C:\Users\xxx.nuget\packages\coverlet.msbuild\2.0.1\build\netstandard2.0\coverlet.msbuild.targets(23,5): error : Parameter name: index [C:\git\MyProject.Tests\MyProject.Tests.csproj]
The text was updated successfully, but these errors were encountered: