couldn't find file hibernate.cfg.xml

3.8k Views Asked by At

I want to run a test-porject (with the usage of NHibernate).

I configured NH in the app.config.

Why do I get this error?

Could not find file 'C:\Users\elad\Documents\Visual Studio 2010\Projects\SVN\UGI\Ugi\MetadataServiceTest\bin\Debug\hibernate.cfg.xml'.

1

There are 1 best solutions below

2
On BEST ANSWER

Make sure hibernate.cfg.xml is set as content and copy to output directory.