-
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
When trying to run tests in a solution that contains C++ projects, C++ CLI projects and C# projects targeting both Core and .NET Framework, I cannot run unit tests if the extension is enabled. I can see the following stacktrace:
=====================
31/03/2025 12:16:00
Recoverable
System.AggregateException: One or more errors occurred.
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at FineCodeCoverage.Core.MsTestPlatform.TestingPlatform.DisableTestingPlatformServerCapabilityGlobalPropertiesProvider.<IsTUnitAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at FineCodeCoverage.Core.MsTestPlatform.TestingPlatform.DisableTestingPlatformServerCapabilityGlobalPropertiesProvider.<GetGlobalPropertiesAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.Build.StaticGlobalPropertiesProviderBase.<<Initialize>b__10_0>d.MoveNext()
<--- (Inner Exception #0)
===================
31/03/2025 12:16:02
Recoverable
System.AggregateException: One or more errors occurred.
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at FineCodeCoverage.Core.MsTestPlatform.TestingPlatform.DisableTestingPlatformServerCapabilityGlobalPropertiesProvider.<IsTUnitAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at FineCodeCoverage.Core.MsTestPlatform.TestingPlatform.DisableTestingPlatformServerCapabilityGlobalPropertiesProvider.<GetGlobalPropertiesAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.Build.StaticGlobalPropertiesProviderBase.<<Initialize>b__10_0>d.MoveNext()
<--- (Inner Exception #0)
===================
31/03/2025 12:16:02
LimitedFunctionality
System.AggregateException: Project system data flow 'DynamicOrderPrecedenceDataSourceImporter`3: 19328787' closed because of an exception.
Object reference not set to an instance of an object.
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at FineCodeCoverage.Core.MsTestPlatform.TestingPlatform.DisableTestingPlatformServerCapabilityGlobalPropertiesProvider.<IsTUnitAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at FineCodeCoverage.Core.MsTestPlatform.TestingPlatform.DisableTestingPlatformServerCapabilityGlobalPropertiesProvider.<GetGlobalPropertiesAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.Build.StaticGlobalPropertiesProviderBase.<<Initialize>b__10_0>d.MoveNext()
<--- (Inner Exception #0)
===================
I'm using Visual Studio 2022 Enterprise v 17.13.4. If I can do something to get more info let me know. I'm using FCC version 1.1.239.
Metadata
Metadata
Assignees
Labels
No labels