This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, i have a critical issue: every modification applied into the designer is not reflected in the generated classes anymore. I tried added some fields to a table in the database and to update the model from database in the designer: all seems ok, but as soon as I save there's no new fields in the mapping classes. What's wrong? Thanks Alessandro |
|
|
Hi Alessandro, I suspect this is due to the other issue you have mentioned as the custom tool execution is failing.
|
|
|
Hi Jeremy, I sent the model and some insight on the problem a couple of days ago but I got no answer. It is clearly a bug of NHIbernate Designer latest version (and some previous version too). Opening the same project with visual studio 2010 and NHibernate Desginer from 2012 I got no issue. Please fix this, or at least tell me when. I'm running out of schedule with my poor project, too bad I had the idea to update to Visual Studio 2013.... Thank you Alessandro |
|
|
Hi Alessandro, Ive tested out this model locally but unfortunately Im not seeing any issues with Visual Studio 2013 so unfortunately it seems like this is an issue on your local environment. If you create a new model do you see the same problem? Also is there a stack trace associated with the exception you mentioned in the original forum post which you can send through? If I can understand better where this is occurring I can look at putting in a bit more debugging and possibly look at a candidate fix for this.
|
|
|
Hi Jeremy, I think I understood the bug after a lot of trials. The new version does not work if you add a CODE GENERATION POLICY with FILE PER TYPE. In that case the tool won't generate the files. In my project I need a FluentNhibernate mapping with a single class for every entity. Before it worked like a charm. Can you please check ? Thank you Regards, Alessandro |
|
|
Hi Alessandro, Thanks for the update, Ive tried that here and I am seeing extremely slow generation times on the files, so I presume if you waited long enough it might actually generate some files for you. Im looking into whats going on here and will get back to you once we have made some progress on tracking this down.
|
|