Could not load file or assembly 'Iesi.Collections, Version=1.0.0.1, Culture=neutral, PublicKeyToken=154fdcb44c4484fc' or one of its dependencies. 系统找不到指定的文件。

解决方案 »

  1.   

    把在nhibernate安装目录里的bin子目录里的Iesi.Collections.dll拷贝到你的应用的bin子目录里去
      

  2.   

    Unknown entity class: Zorywa.User
    类文件:
    namespace Zorywa
    {
         public class User{}
    }
    配置:<class name="Zorywa.User,Zorywa" table="users">
      

  3.   

    Unknown entity class: NHibernate.User
    这是什么错误啊?
      

  4.   

    did you add the hbm.xml to the Configuration class? see the example in my blog:
    http://blog.joycode.com/saucer/articles/67191.aspx
      

  5.   

    思归的意思是说:一个实体类在NHibernate中需要相应的XML配置文件支持
    你要讲那个XML文件放置到相应的路径,然后初始化的时候,加载进来~