-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
This is a new one... The test currently fails with:
System.Composition.Hosting.Tests.ContainerConfigurationTests.WithAssemblies_AssembliesAndConvention_ThrowsCompositionFailedExceptionOnCreation [FAIL]
Assert.Throws() Failure
Expected: typeof(System.Composition.Hosting.CompositionFailedException)
Actual: typeof(System.IO.FileNotFoundException): Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
---- System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Stack Trace:
at System.MonoCustomAttrs.GetCustomAttributesBase(ICustomAttributeProvider obj, Type attributeType, Boolean inheritedOnly)
at System.MonoCustomAttrs.GetCustomAttributes(ICustomAttributeProvider obj, Type attributeType, Boolean inherit)
at System.Attribute.GetCustomAttributes(ICustomAttributeProvider element, Type attributeType, Boolean inherit)
at System.Attribute.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit)
at System.Reflection.CustomAttributeExtensions.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit)
at System.Reflection.CustomAttributeExtensions.GetCustomAttributes[Attribute](MemberInfo element, Boolean inherit)
at System.Composition.Convention.ConventionBuilder.GetCustomAttributes(Type reflectedType, MemberInfo member)
at System.Composition.Convention.AttributedModelProviderExtensions.GetDeclaredAttribute[PartNotDiscoverableAttribute](AttributedModelProvider convention, Type reflectedType, MemberInfo member)
at System.Composition.TypedParts.Discovery.TypeInspector.InspectTypeForPart(TypeInfo type, DiscoveredPart& part)
at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor(IEnumerable`1 types, AttributedModelProvider attributeContext)
at System.Composition.Hosting.ContainerConfiguration.CreateContainer()
at System.Composition.Hosting.Tests.ContainerConfigurationTests.<>c__DisplayClass19_0.<WithAssemblies_AssembliesAndConvention_ThrowsCompositionFailedExceptionOnCreation>b__1()
----- Inner Stack Trace -----
at System.MonoCustomAttrs.GetCustomAttributesBase(ICustomAttributeProvider obj, Type attributeType, Boolean inheritedOnly)
at System.MonoCustomAttrs.GetCustomAttributes(ICustomAttributeProvider obj, Type attributeType, Boolean inherit)
at System.Attribute.GetCustomAttributes(ICustomAttributeProvider element, Type attributeType, Boolean inherit)
at System.Attribute.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit)
at System.Reflection.CustomAttributeExtensions.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit)
at System.Reflection.CustomAttributeExtensions.GetCustomAttributes[Attribute](MemberInfo element, Boolean inherit)
at System.Composition.Convention.ConventionBuilder.GetCustomAttributes(Type reflectedType, MemberInfo member)
at System.Composition.Convention.AttributedModelProviderExtensions.GetDeclaredAttribute[PartNotDiscoverableAttribute](AttributedModelProvider convention, Type reflectedType, MemberInfo member)
at System.Composition.TypedParts.Discovery.TypeInspector.InspectTypeForPart(TypeInfo type, DiscoveredPart& part)
at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor(IEnumerable`1 types, AttributedModelProvider attributeContext)
at System.Composition.Hosting.ContainerConfiguration.CreateContainer()
at System.Composition.Hosting.Tests.ContainerConfigurationTests.<>c__DisplayClass19_0.<WithAssemblies_AssembliesAndConvention_ThrowsCompositionFailedExceptionOnCreation>b__1()
Are we missing a nuget feed? Determine why and make the test pass.