Why can't I call BuildSessionFactory since the update from NHibernate 2 to 3.3.1?
===

today I updated my project to NHibernate 3.3 and replaced the NHibernate and the Iesi.Collections References.
I kept NHibernate.ByteCode.Castle
I removed the line 
`<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>` from my application config.
Now I get the error NotSupportedException in the last line of the following code:

    NHibernate.Cfg.Configuration cfg = new NHibernate.Cfg.Configuration();
    cfg.AddAssembly(Assembly.GetExecutingAssembly());
    sessionFactory = cfg.BuildSessionFactory();

I googled a lot but I don't have a clue what's wrong. And ideas? Thanks!