New issue report by josehr:
Is there a way to remove the Active Record dependency?
I need to use NH 2.0.0.4000 but AR depends on NH 2.0.0.1001
I just tried replacing:
ActiveRecordConfigurationSource activeRecordConfiguration = new
ActiveRecordConfigurationSource();
activeRecordConfiguration.Add( nhibernateProperties );
ActiveRecordStarter.Initialize( inputAssembly, activeRecordConfiguration );
Configuration nhibernateConfiguration =
ActiveRecordMediator.GetSessionFactoryHolder().GetConfiguration( typeof(
ActiveRecordBase ) );
by:
NHibernate.Cfg.Configuration nhibernateConfiguration = new Configuration();
nhibernateConfiguration.AddProperties(nhibernateProperties);
but now I get:
System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'DynamicProxyGenAssembly2' or
one of its dependencies. The system cannot find the file specified."
Source="mscorlib"
FileName="DynamicProxyGenAssembly2"
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings