minicover: Getting System.ArgumentException after upgrade from 20180304114938 version
Hi. Getting this error after upgrading to latest version. Tried to upgrade a week ago it was same. 20180304114938 version works fine.
Unhandled Exception: System.ArgumentException: An item with the same key has already been added. Key: 221395250
at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at MiniCover.HitServices.HitTestMethod.Read(BinaryReader binaryReader)
at MiniCover.HitServices.HitTestMethod.Deserialize(Stream stream)
at MiniCover.Hits.TryReadFromFile(String file)
at MiniCover.Reports.OpenCoverReport.Execute(InstrumentationResult result, String output, Single threshold)
at MiniCover.Program.<>c__DisplayClass0_6.<Main>b__13()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at MiniCover.Program.Main(String[] args)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 26 (10 by maintainers)
how is the fix, we are still sitting on 20180304114938
ok thank for sharing I think I may have found the reason to that. need to find a proper way to fix this.
I m still looking at it