Fluent nHibernate error - Could not compile the mapping document: (XmlDocument)
问题 I have read all questions about Fluent nHibernate and didnt find answer for that. I am trying to run the Getting Started tutorial here and I get this error: Could not compile the mapping document: (XmlDocument) The error happens when I am running the CreateSessionFactory: private static ISessionFactory CreateSessionFactory() { return Fluently.Configure() .Database(SQLiteConfiguration.Standard .UsingFile(DBfile)) .Mappings(m => m.FluentMappings.AddFromAssemblyOf<Program>())