Initializing the embeddable document store on Mono (3.2.1) raises following exception:
System.IO.FileNotFoundException : Could not load file or assembly 'System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
at (wrapper managed-to-native) System.MonoType:GetPropertiesByName (System.MonoType,string,System.Reflection.BindingFlags,bool,System.Type)
at System.MonoType.GetProperties (BindingFlags bindingAttr) [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/corlib/System/MonoType.cs:312
at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo+<GetExportMembers>c__Iterator3.MoveNext () [0x00110] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedPartCreationInfo.cs:358
at System.Linq.Enumerable.Any[MemberInfo] (IEnumerable`1 source) [0x00024] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.Core/System.Linq/Enumerable.cs:138
at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo.HasExports () [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedPartCreationInfo.cs:113
at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo.IsPartDiscoverable () [0x0001d] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedPartCreationInfo.cs:94
at System.ComponentModel.Composition.AttributedModel.AttributedModelDiscovery.CreatePartDefinitionIfDiscoverable (System.Type type, ICompositionElement origin) [0x0000a] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/AttributedModel/AttributedModelDiscovery.cs:20
at System.ComponentModel.Composition.Hosting.TypeCatalog.get_PartsInternal () [0x00052] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/TypeCatalog.cs:276
at System.ComponentModel.Composition.Hosting.TypeCatalog.GetEnumerator () [0x00006] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/TypeCatalog.cs:234
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetEnumerator () [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/AssemblyCatalog.cs:562
at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator27`2[System.ComponentModel.Composition.Primitives.ComposablePartCatalog,System.ComponentModel.Composition.Primitives.ComposablePartDefinition].MoveNext () [0x00059] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2302
at System.Linq.Enumerable.ToArray[ComposablePartDefinition] (IEnumerable`1 source) [0x0007c] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.Core/System.Linq/Enumerable.cs:2899
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection+<Clear>c__AnonStorey26.<>m__40 () [0x00000] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/ComposablePartCatalogCollection.cs:112
at System.Lazy`1[System.Collections.Generic.IEnumerable`1[System.ComponentModel.Composition.Primitives.ComposablePartDefinition]].InitValue () [0x00083] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/corlib/System/Lazy.cs:131
at System.Lazy`1[System.Collections.Generic.IEnumerable`1[System.ComponentModel.Composition.Primitives.ComposablePartDefinition]].get_Value () [0x00024] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/corlib/System/Lazy.cs:100
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.RaiseChangedEvent (System.Lazy`1 addedDefinitions, System.Lazy`1 removedDefinitions) [0x0002e] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/ComposablePartCatalogCollection.cs:313
at System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection.Clear () [0x000da] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/System.ComponentModel.Composition.4.5/src/ComponentModel/System/ComponentModel/Composition/Hosting/ComposablePartCatalogCollection.cs:132
at Raven.Database.Config.InMemoryRavenConfiguration.FilterActiveBundles () [0x00000] in <filename unknown>:0
at Raven.Database.Config.InMemoryRavenConfiguration.PostInit () [0x00000] in <filename unknown>:0
at Raven.Database.Config.InMemoryRavenConfiguration.Initialize () [0x00000] in <filename unknown>:0
at Raven.Database.Config.RavenConfiguration.LoadConfigurationAndInitialize (IEnumerable`1 values) [0x00000] in <filename unknown>:0
at Raven.Database.Config.RavenConfiguration..ctor () [0x00000] in <filename unknown>:0
at Raven.Client.Embedded.EmbeddableDocumentStore.get_Configuration () [0x00000] in <filename unknown>:0
at Raven.Client.Embedded.EmbeddableDocumentStore.set_RunInMemory (Boolean value) [0x00000] in <filename unknown>:0
at Heuts.Api.Dal.UnitTests.BaseDalTestFixture.Setup () [0x00007] in /opt/TeamCity/buildAgent/work/50c844c5def0f779/Source/Heuts.Api.Dal.UnitTests/BaseDalTestFixture.cs:21
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /home/abuild/rpmbuild/BUILD/mono-3.2.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:230