Skip to content

Microsoft Fakes issue with 4.0.1 #6787

@avivanoff

Description

@avivanoff

A project that uses MSTest.Sdk/4.0.1 and EnableMicrosoftTestingExtensionsFakes fails to run tests that use fakes. Partial error:

Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: Failed to resolve profiler path from Fakes instrumentation configuration. Configuration path: null
  Stack Trace:
     at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.ResolveDetourModulePath()
   at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.Initialize()
   at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationRuntime.InitializeUnitTestIsolationInstrumentationProvider()
   at Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.CreateContext()

Sample project.

Similar to #4441.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions