Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using NHibernate in a Metro

Tags:

c#

nhibernate

I am porting an app from iOS to Win8 and would like to use NHibernate in the app to store relational data, but whenever I add the NHibernate.dll & lesli.Collections.dll I get the following errors:

Error 2 Cannot find type System.ApplicationException in module mscorlib.dll.

Error 1 Cannot resolve Assembly or Windows Metadata file 'System.Data.dll'

If someone could point me in the direction of possible solution that would be great, I've been unable to find one as of yet

like image 654
CStreel Avatar asked Oct 06 '22 07:10

CStreel


1 Answers

It seems System.Data is not available for Windows Store applications. http://visualstudiomagazine.com/blogs/data-driver/2012/09/data-devs-local-access-windows-store.aspx NHibernate relies heavily on System.Data.

like image 98
Oskar Berggren Avatar answered Oct 10 '22 13:10

Oskar Berggren