Hibernate version: 1.04
I'm aware that there have been people who have encountered the "The dialect was not set. Set the property hibernate.dialect" in ASP.NET projects.
In my case we've encountered this problem in a Windows Forms application using a modified MVP approach:
The bad thing is this happens in the Design View of our UI -- what I did was to simply move from Code View to Design View. To be able to add elements to the designer (ever tried doing WinUI over code? not pretty, unlike in ASP.NET) we need to comment out other objects that have even the remotest dependency to NHibernate.
I've tried:
1. adding an app.config file to contain the hibernate.dialect definition
2. adding hibernate.cfg.xml to the project and setting its compile action to copy to output directory, a solution I tried after I found here:
http://forums.visual-paradigm.com/posts/list/1785.html
Needless to say, neither solution worked.
Any ideas?