FortuneN / FineCodeCoverage

Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage
Other
522 stars 40 forks source link

Craig/support arm64 #440

Closed tonyhallett closed 1 month ago

dpmurphy commented 1 month ago

I tried this on a mac running vmware on arm64.

This is the error I get upon startup of FCC, the build was error free on latest VS2022 community edition. All packages were latest versions available in nuget.

An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\dan_p\AppData\Roaming\Microsoft\VisualStudio\17.0_440cd417\ActivityLog.xml".

Exception details: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at ExCSS.PeriodicValueConverter.PeriodicValue..ctor(IPropertyValue[] options, IEnumerable1 tokens, String[] labels) at ExCSS.PeriodicValueConverter.Construct(Property[] properties) at ExCSS.StartsWithValueConverter.Construct(Property[] properties) at ExCSS.OptionValueConverter.Construct(Property[] properties) at ExCSS.ConstraintValueConverter.Construct(Property[] properties) at ExCSS.OrderedOptionsConverter.Construct(Property[] properties) at ExCSS.UnorderedOptionsConverter.Construct(Property[] properties) at ExCSS.OrValueConverter.Construct(Property[] properties) at ExCSS.OrValueConverter.Construct(Property[] properties) at ExCSS.StyleDeclaration.ToCss(TextWriter writer, IStyleFormatter formatter) at ExCSS.CompressedStyleFormatter.ExCSS.IStyleFormatter.Style(String selector, IStyleFormattable rules) at ExCSS.StyleRule.ToCss(TextWriter writer, IStyleFormatter formatter) at ExCSS.CompressedStyleFormatter.WriteJoined(StringBuilder sb, IEnumerable1 elements, String separator, Boolean first) at ExCSS.CompressedStyleFormatter.ExCSS.IStyleFormatter.Sheet(IEnumerable1 rules) at ExCSS.Stylesheet.ToCss(TextWriter writer, IStyleFormatter formatter) at FineCodeCoverage.Engine.ReportGenerator.ReportGeneratorUtil.SetInitialTheme(HtmlDocument document) at FineCodeCoverage.Engine.ReportGenerator.ReportGeneratorUtil.<>c__DisplayClass63_0.<ProcessUnifiedHtml>b__1() at FineCodeCoverage.Core.Utilities.AssemblyUtil.RunInAssemblyResolvingContext[T](Func1 func) at FineCodeCoverage.Engine.ReportGenerator.ReportGeneratorUtil.ProcessUnifiedHtml(String htmlForProcessing, String reportOutputFolder) at FineCodeCoverage.Engine.ReportGenerator.ReportGeneratorUtil.BlankReport(Boolean withHistory) at FineCodeCoverage.Engine.ReportGenerator.ReportGeneratorUtil.Handle(ReadyForReportMessage message) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at FineCodeCoverage.Core.Utilities.EventAggregator.HandleMethodWrapper.TryHandle[TListener](Object target, Object message, Boolean& wasHandled) at FineCodeCoverage.Core.Utilities.EventAggregator.ListenerWrapper.TryHandle[TListener](Object message, Boolean& wasHandled) at FineCodeCoverage.Core.Utilities.EventAggregator.<>cDisplayClass6_01.<Call>b__0() at FineCodeCoverage.Core.Utilities.EventAggregator.Config.<>c.<.ctor>b__16_1(Action action) at FineCodeCoverage.Core.Utilities.EventAggregator.Call[TListener](Object message, Action1 marshaller) at FineCodeCoverage.Core.Utilities.EventAggregator.SendMessage[TMessage](TMessage message, Action`1 marshal) at FineCodeCoverage.Output.OutputToolWindowControl..ctor(IEventAggregator eventAggregator) at FineCodeCoverage.Output.OutputToolWindow.Initialize(OutputToolWindowContext context) at FineCodeCoverage.Output.OutputToolWindow..ctor(OutputToolWindowContext context) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at Microsoft.VisualStudio.Shell.Package.InstantiateToolWindow(Type toolWindowType, Object context) at Microsoft.VisualStudio.Shell.Package.<>cDisplayClass89_0.gCreateToolWindowWorker|1() at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags, Object context, Guid persistenceGuid) at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, Object context) at Microsoft.VisualStudio.Shell.AsyncPackage.d40.MoveNext()