couldn't find file hibernate.cfg.xml
-
25-10-2019 - |
Question
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'.
Solution
Make sure hibernate.cfg.xml is set as content and copy to output directory.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow