Open
Description
CreateProject_CreateAndBuild
Source: OpenProjectTests.cs line 15
Duration: 2 min
Message:
Test method Microsoft.VisualStudio.ProjectSystem.VS.CreateProjectTests.CreateProject_CreateAndBuild threw exception:
System.NotSupportedException: Unable to get exported value for 'Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService', this feature may not be supported for the host. See inner exception for details. ---> System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.
1) Could not load type 'Microsoft.VisualStudio.ImmersiveProjectServices.IVsImmersiveProjectDeployTest' from assembly 'Microsoft.VisualStudio.TailoredProjectServices, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Resulting in: An exception occurred while calling the 'OnImportsSatisfied' method on type 'Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService'.
Resulting in: Cannot activate part 'Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService'.
Element: Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService --> Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService --> TypeCatalog (Types='Microsoft.Test.Apex.FontsAndColors.FontsAndColorsService, Microsoft.Test.Apex.VisualStudio.PackageService, ...').
Resulting in: Cannot get export 'Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService (ContractName="Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService")' from part 'Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService'.
Element: Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService (ContractName="Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService") --> Microsoft.Test.Apex.VisualStudio.Solution.BuildManagerService --> TypeCatalog (Types='Microsoft.Test.Apex.FontsAndColors.FontsAndColorsService, Microsoft.Test.Apex.VisualStudio.PackageService, ...').
Stack Trace:
CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)
CatalogExportProvider.GetExportedValue(CatalogPart part, ExportDefinition export, Boolean isSharedPart)
CatalogExport.GetExportedValueCore()
Export.get_Value()
ExportServices.GetCastedExportedValue[T](Export export)
<>c__DisplayClass12_0`1.<CreateStronglyTypedLazyOfT>b__1()
Lazy`1.CreateValue()
Lazy`1.LazyInitValue()
Lazy`1.get_Value()
CompositionExtensions.GetValue[T](Lazy`1 lazyImport)
--- End of inner exception stack trace ---
Server stack trace:
CompositionExtensions.GetValue[T](Lazy`1 lazyImport)
SolutionService.get_BuildManager()
StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
SolutionService.get_BuildManager()
CreateProjectTests.CreateProject_CreateAndBuild() line 49
Open additional output for this result