locked
Visual Studio testrunner refuses to work all over sudden RRS feed

  • Question

  • Since today the Visual Studio 2012 testrunner isn't working anymore.
    This is what appears in the output window:

    ---------------------------------------------------------
    The composition produced a single composition error, with 9 root causes. The root causes are provided below. Review the CompositionException.Errors property for more detailed information.

    1) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Extensibility.ILogger
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Extensibility.ILogger' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    2) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Host.IHost
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Host.IHost' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    3) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Data.ITestContainerProvider
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Data.ITestContainerProvider' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    4) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Data.SearchViewCriteria
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Data.SearchViewCriteria' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    5) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Data.IUnitTestStorage
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Data.IUnitTestStorage' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    6) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Controller.IUnitTestExtensionDiscoverer
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Controller.IUnitTestExtensionDiscoverer' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    7) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Controller.IUserRunSettings
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Controller.IUserRunSettings' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    8) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Controller.TestMethodResolverProvider
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Controller.TestMethodResolverProvider' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory

    9) Could not finishing composing object of type 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'. The import '
     ContractName Microsoft.VisualStudio.TestWindow.Controller.IDebugLauncher
     RequiredTypeIdentity Microsoft.VisualStudio.TestWindow.Controller.IDebugLauncher' was not satisfied.

    Resulting in: Cannot get export 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory")' from part 'Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory'.
    Element: Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory (ContractName="Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory") -->  Microsoft.VisualStudio.TestWindow.Controller.RequestConfigurationFactory
    -------------------------------------------------------------------------------

    However I can run the tests with Resharper but if I set a break point and choose debug instead of run, Intellitrace shows the Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.dll
    cannot be found but it's there in
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions

    I have already tried a repair installation but to no avail.


    MfG Rainer Hilmer

    Friday, October 26, 2012 9:49 PM

Answers