Pergunta

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'.

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top