Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'TestWindowPackage' package did not load correctly #172

Closed
NickeZ opened this issue Oct 16, 2017 · 1 comment
Closed

The 'TestWindowPackage' package did not load correctly #172

NickeZ opened this issue Oct 16, 2017 · 1 comment
Labels

Comments

@NickeZ
Copy link

NickeZ commented Oct 16, 2017

I get the following error when trying to open the "test explorer" after installing the GoogleTestAdapter. The problem goes away if I disable the plugin.

I attach the information I can extract about the system and the error log. Unfortunately the error log is not formatted nicely. I don't know how to get a nice formatted output from the xml file.

The 'TestWindowPackage' package did not load correctly

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\niklas\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.

Restarting Visual Studio could help resolve this issue.

Continue to show this error message?

Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.7.02552

Installed Version: Community

Visual Basic 2015   00322-20000-00000-AA793
Microsoft Visual Basic 2015

Visual C# 2015   00322-20000-00000-AA793
Microsoft Visual C# 2015

Visual C++ 2015   00322-20000-00000-AA793
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   7.18.00214.2
Application Insights Tools for Visual Studio

Beckhoff.TwinCAT.EventLogger   1.0
Information about my package

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Google Test Adapter   1.0
Google Test Adapter adds support for the C++ test framework Google Test

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Qt Visual Studio Tools   2.1.1
The Qt Visual Studio Tools allow developers to use the standard development environment without having to worry about any Qt-related build steps or tools.

TcMeasurement   1.0
This package contains the project system for TwinCAT Measurement projects.

TcProjectCompare   1.0.0.9
Visual Studio Integrated Version of TcProjectCompare

TcXaeDebuggerLiveWatch   1.0
TwinCAT XAE Live Watch Tool Window

TcXaeHelper   1.0
Info

TcXaeModules   1.0
TwinCAT TMC Editor, TwinCAT TMC Code Generator

TwinCAT XAE Base   3.1.0.0
The TwinCAT XAE Base extension provides the basic project structure for TwinCAT projects.

TwinCAT XAE PLC   3.1.0.0
PLC Environment

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
439 | ERROR | TestWindowPackage.Initialize failed with exception:   System.InvalidOperationException: Loading MEF components failed with the following exception:  An exception was thrown while initializing part "Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer". Additional diagnostics here:  MEF Import details for Microsoft.VisualStudio.TestWindow.VsHost.TestWindowPackage  	ContractName	Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer 	RequiredTypeIdentity	Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer 	Satisfied by : 		Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer  ---> Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part "Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer". ---> System.ArgumentException: The specified argument cannot be empty. Parameter name: commandContainers    at Microsoft.VisualStudio.TestWindow.ValidateArg.NotNullOrEmpty[T](IEnumerable`1 arg, String parameterName)    at Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer..ctor(IServiceProvider serviceProvider, IEnumerable`1 commandContainers)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()    at System.Lazy`1.CreateValue()    at System.Lazy`1.LazyInitValue()    at System.Lazy`1.get_Value()    at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()    at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()    at System.ComponentModel.Composition.Primitives.Export.get_Value()    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastSingleExportToImportType(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToSingleImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportDefinition definition, IEnumerable`1 exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)    at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)    at Microsoft.VisualStudio.Composition.NetFxAdapters.CompositionService.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider) --- End of stack trace from previous location where exception was thrown ---    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()    at System.Lazy`1.CreateValue()    at System.Lazy`1.LazyInitValue()    at System.Lazy`1.get_Value()    at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()    at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()    at System.ComponentModel.Composition.Primitives.Export.get_Value()    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastSingleExportToImportType(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToSingleImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportDefinition definition, IEnumerable`1 exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)    at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)    at Microsoft.VisualStudio.Composition.NetFxAdapters.CompositionService.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider)    at Microsoft.VisualStudio.TestWindow.VsHost.TestWindowPackage.InitializeContainer()    at Microsoft.VisualStudio.TestWindow.VsHost.TestWindowPackage.Initialize()   PackageContainer loaded: False   Certificates do not match: 	Microsoft.VisualStudio.TestWindow: [Subject]   CN=Microsoft Corporation, OU=MOPR, O=Microsoft Corporation, L=Redmond, S=Washington, C=US  [Issuer]   CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US  [Serial Number]   330000010A2C79AED7797BA6AC00010000010A  [Not Before]   2015-06-04 19:42:45  [Not After]   2016-09-04 19:42:45  [Thumbprint]   3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC  	Microsoft.VisualStudio.ExtensibilityHosting: [Subject]   CN=Microsoft Corporation, OU=MOPR, O=Microsoft Corporation, L=Redmond, S=Washington, C=US  [Issuer]   CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US  [Serial Number]   330000014096A9EE7056FECC07000100000140  [Not Before]   2016-08-18 22:17:17  [Not After]   2017-11-02 21:17:17  [Thumbprint]   98ED99A67886D020C564923B7DF25E9AC019DF26 |   |   | TestWindowPackage | 2017/10/16 08:19:12.811
-- | -- | -- | -- | -- | -- | --
440 | ERROR | LegacySitePackage failed for package [TestWindowPackage]Source: 'Microsoft.VisualStudio.TestWindow' Description: Loading MEF components failed with the following exception:  An exception was thrown while initializing part "Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer". Additional diagnostics here:  MEF Import details for Microsoft.VisualStudio.TestWindow.VsHost.TestWindowPackage  	ContractName	Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer 	RequiredTypeIdentity	Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer 	Satisfied by : 		Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer  System.InvalidOperationException: Loading MEF components failed with the following exception:  An exception was thrown while initializing part "Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer". Additional diagnostics here:  MEF Import details for Microsoft.VisualStudio.TestWindow.VsHost.TestWindowPackage  	ContractName	Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer 	RequiredTypeIdentity	Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer 	Satisfied by : 		Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer  ---> Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part "Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer". ---> System.ArgumentException: The specified argument cannot be empty. Parameter name: commandContainers    at Microsoft.VisualStudio.TestWindow.ValidateArg.NotNullOrEmpty[T](IEnumerable`1 arg, String parameterName)    at Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer..ctor(IServiceProvider serviceProvider, IEnumerable`1 commandContainers)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()    at System.Lazy`1.CreateValue()    at System.Lazy`1.LazyInitValue()    at System.Lazy`1.get_Value()    at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()    at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()    at System.ComponentModel.Composition.Primitives.Export.get_Value()    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastSingleExportToImportType(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToSingleImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportDefinition definition, IEnumerable`1 exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)    at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)    at Microsoft.VisualStudio.Composition.NetFxAdapters.CompositionService.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider) --- End of stack trace from previous location where exception was thrown ---    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()    at System.Lazy`1.CreateValue()    at System.Lazy`1.LazyInitValue()    at System.Lazy`1.get_Value()    at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()    at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()    at System.ComponentModel.Composition.Primitives.Export.get_Value()    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastSingleExportToImportType(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToSingleImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportDefinition definition, IEnumerable`1 exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)    at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)    at Microsoft.VisualStudio.Composition.NetFxAdapters.CompositionService.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider)    at Microsoft.VisualStudio.TestWindow.VsHost.TestWindowPackage.InitializeContainer()    at Microsoft.VisualStudio.TestWindow.VsHost.TestWindowPackage.Initialize()    at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part "Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer". ---> System.ArgumentException: The specified argument cannot be empty. Parameter name: commandContainers    at Microsoft.VisualStudio.TestWindow.ValidateArg.NotNullOrEmpty[T](IEnumerable`1 arg, String parameterName)    at Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer..ctor(IServiceProvider serviceProvider, IEnumerable`1 commandContainers)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()    at System.Lazy`1.CreateValue()    at System.Lazy`1.LazyInitValue()    at System.Lazy`1.get_Value()    at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()    at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()    at System.ComponentModel.Composition.Primitives.Export.get_Value()    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastSingleExportToImportType(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToSingleImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportDefinition definition, IEnumerable`1 exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)    at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)    at Microsoft.VisualStudio.Composition.NetFxAdapters.CompositionService.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider) --- End of stack trace from previous location where exception was thrown ---    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()    at System.Lazy`1.CreateValue()    at System.Lazy`1.LazyInitValue()    at System.Lazy`1.get_Value()    at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()    at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()    at System.ComponentModel.Composition.Primitives.Export.get_Value()    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastSingleExportToImportType(Type type, Export export)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToSingleImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToImportType(Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)    at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportDefinition definition, IEnumerable`1 exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)    at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)    at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)    at Microsoft.VisualStudio.Composition.NetFxAdapters.CompositionService.SatisfyImportsOnce(ComposablePart part)    at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)    at Microsoft.VisualStudio.ComponentModelHost.ComponentModelHostExtensions.SatisfyImports[T](T serviceProvider)System.ArgumentException: The specified argument cannot be empty. Parameter name: commandContainers    at Microsoft.VisualStudio.TestWindow.ValidateArg.NotNullOrEmpty[T](IEnumerable`1 arg, String parameterName)    at Microsoft.VisualStudio.TestWindow.VsHost.PackageContainer..ctor(IServiceProvider serviceProvider, IEnumerable`1 commandContainers) | {BFC24BF4-B994-4757-BCDC-1D5D2768BF29} | 80131509 | VisualStudio


@NickeZ
Copy link
Author

NickeZ commented Oct 16, 2017

Clearing the cache with Clear MEF Component Cache by Mads Kristensen worked!

https://visualstudiogallery.msdn.microsoft.com/22b94661-70c7-4a93-9ca3-8b6dd45f47cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants