Some more Info. This is being thrown when documentStore.Initialize(); is executed:
System.InvalidOperationException occurred
Message=Could not get compiled index type. This probably means that there is something wrong with the assembly load context.
Source=Raven.Database
StackTrace:
at Raven.Database.Linq.QueryParsingUtils.Compile(String source, String name, String queryText, OrderedPartCollection`1 extensions, String basePath) in c:\Builds\RavenDB-Stable\Raven.Database\Linq\QueryParsingUtils.cs:line 332
InnerException:
I assume this has to do with Prism/MEF loading the libraries.