Glad I could be of some assistance :)
On 9 March 2010 18:00, tqwhite <[email protected]> wrote:
> Good point.
>
> InnerException {"Could not find file ... \\hibernate.cfg.xml' ...}
> System.Exception {System.IO.FileNotFoundException}
>
> What is with Visual Studio and not copying things. Changed it's
> property to Copy Always and I'm another step closer to happiness.
>
> thanks,
> tqii
>
>
> On Mar 9, 11:43 am, Graham Hay <[email protected]> wrote:
> > What's the exception thrown?
> >
> > On 9 March 2010 17:33, tqwhite <[email protected]> wrote:
> >
> >
> >
> > > I am trying to get nHibernate to generate a schema for me. I ran into
> > > a tutorial on the matter (*1 below) that was very clear and happy
> > > seeing. The guy used nUnit to express his schema. I figured that
> > > mbUnit should be able to do the job, too (am I right?). Since I see a
> > > ton of nHibernate talk around here, I thought you might be able to
> > > help. Plus, Gallio is incriminated, too.
> >
> > > Here is the code block that is killing me:
> >
> > > Configuration config = new Configuration();
> > > config.Configure();
> > > var aaa = new SchemaExport(config);
> >
> > > When I step through it with a debugger, it says that "There is no
> > > source code for the current location," as I tell it to step over
> > > "config.Configure()". When it asks me to search for the file, it
> > > prompts me with DotNetRuntimeSupport.cs. When I look at the
> > > disassembly, it tells me that it thinks this should be in a Gallio
> > > directory.
> >
> > > I suspect that I have a two step problem (and gratitude for comment on
> > > either). I'm guessing that config.Configure() is a problem and that my
> > > mbUnit installation is not able to adapt, or something.
> >
> > > I note 1) I am able to use mbUnit for another, simple test (I'm early
> > > in this project), 2) the code is colored properly by Visual Studio ie,
> > > namespaces are in place, 3) config.configure() works properly to
> > > access the database in the target project.
> >
> > > Any advice?
> >
> > > thanks,
> > > tqii
> >
> > > *1:
> > >http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/04/28/crea.
> ..
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "MbUnit.User" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<mbunituser%[email protected]>
> <mbunituser%2bunsubscr...@googlegrou ps.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/mbunituser?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "MbUnit.User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<mbunituser%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/mbunituser?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mbunituser?hl=en.