Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-04 Thread Oskar Berggren
2016-03-03 20:55 GMT+00:00 Steve Lyle : > I don't know what the challenge is but I would like to think the top level > exception message could be: >"can't find your file (probably because of a typo in ...)" fix that then >"can't find the assembly (probably because of a

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-03 Thread Oskar Berggren
2016-03-03 4:25 GMT+00:00 Steve Lyle : > A) What error do you get when there is a typo in the XML mapping file's > class-tab name-attribute value and you are using AddFile()? >In other words when the name-attribute value != the name of the class > in the class.cs file. >

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Gunnar Liljas
OK, I give up. https://msdn.microsoft.com/en-us/library/system.exception.innerexception(v=vs.110).aspx 2016-03-03 4:14 GMT+01:00 Steve Lyle : > I offer to live, real-time, firsthand demo. > But I have a stable project now and have spend much to much time on this. > I'm not

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Steve Lyle
I offer to live, real-time, firsthand demo. But I have a stable project now and have spend much to much time on this. I'm not going to undo what I have to re-create this error. When time permits I'll see if I can create a new project to demo to you. But please understand I've given to you all that

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Carlos Cubas
Gunnar, you've shown incredible patience here. Don't waste your time. On Wed, Mar 2, 2016 at 3:29 PM, Gunnar Liljas wrote: > "I will agree-to-disagree in AddFile(). I don't think something is viable > when it is said to work but in all reality doesn't no matter how

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Gunnar Liljas
"I will agree-to-disagree in AddFile(). I don't think something is viable when it is said to work but in all reality doesn't no matter how it's use is attempted." Could you at least give us the courtesy to investigate the exception thrown? If there is a bug, we'd like to know that, but most

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Steve Lyle
I respect your ability to comment on my attitude. I will agree-to-disagree in AddFile(). I don't think something is viable when it is said to work but in all reality doesn't no matter how it's use is attempted. Perhaps it works in older implementations (VS2010 & .Net 2 & Web Forms) or maybe

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Steve Lyle
Turns out I misspoke. Where I did change the mapping from "Embedded Resource" back to "Content" Microsoft VStudio must still be Embedding the mapping as a resource. I find this out because I added another mapping, rebuilt, and the old error came back "hibernate:Cannot compile". And I thought it

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Oskar Berggren
2016-03-02 15:14 GMT+00:00 Steve Lyle : > Your thoughts on this. > As soon as I installed and configured log4net ~ *my problem with > AddFile() when away*. > > It's very likely to be just coincidence, but we will never know because we never got to see the text from the

Re: [nhusers] Re: Cat.hbm.xml error Could not compile the mapping document"

2016-03-02 Thread Oskar Berggren
2016-03-02 13:29 GMT+00:00 Steve Lyle : > > Gunnar! Again, I've given you *everything *nHibernate reports on the > error. Do you need a live, real-time, firsthand demo? > You know this. Like anything else nHibernate code, at execution, runs > into a problem, catches it, and