How to run the samples

0 views
Skip to first unread message

Patrick De Boeck

unread,
Sep 3, 2010, 4:23:15 PM9/3/10
to ncqrs-dev
Hi,

I have build errors during the main build (running build.bat). These
are related to not having a database setup (unittest failures). Build
succeeds. When I try to run the samples (MyNotes for example), He
cannot find the appropriate libraries (ncqrs.dll,
ncqrs.extensions.dll, ...)

Am I missing something or do I have to copy these manually?

Pieter Joost van de Sande

unread,
Sep 3, 2010, 5:32:13 PM9/3/10
to ncqrs-dev
Hey Patrick,

Thanks for reporting this! 

The TearDown method in the MsSqlServerEventStoreTests class was causing this error. The database connection is tested in the Setup method and when failed, the tests are ignored. But in the TearDown method we clean the database, even when the test is ignored. This causes the error when there is no database available. 

I fixed this and pushed it to the development repository: http://github.com/ncqrs/ncqrs/tree/development

Sorry for the trouble!

PJ
Reply all
Reply to author
Forward
0 new messages