hello guys... this is my firstever post in hibernate forum. I am having a little problem using NHibernate. This sample was taken from some tutorial on web. All the references are there. I get the following exception
The type initializer for 'NHibernate.Cfg.Configuration' threw an exception. Here is the code onewhich the debugger takes me to.
Code:
//this is the line
NHibernate.Cfg.Configuration config = new NHibernate.Cfg.Configuration();
config.AddAssembly("ContactsDomain");
what is the problem? thnx