Trouble dragging and dropping gui components onto other .net forms using NHibernate

Posted by IsaacB on Stack Overflow See other posts from Stack Overflow or by IsaacB
Published on 2010-06-06T01:03:08Z Indexed on 2010/06/06 1:12 UTC
Read the original article Hit count: 314

Filed under:
|
|
|
|

Hi, using VS2008, here. I have a GUI component that loads some stuff from a database mapped by nhibernate in its constructor. When I drag and drop this component onto another form from the toolbox, NHibernate complains that it can't find the config file in program files\visual studio 9\common7\ide. Why is it looking here for the cfg file? I'm actually calling database stuff through another project in the same solution, and the cfg file is located at the root of that project. copy/pasting the cfg file over to there does work, but I'm working with svn here and I don't want to have configuration files outside the repository.

Something else that would help would be turning off how it tries to load the data in the form design screen. How would I do that?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET