First Build Fails

Jun 15, 2009 at 10:59 AM

VS build now works with no errors, but NAnt's one (from ClickToBuild.bat) still doesn't.

The NAnt "build" target depends on setConnstringToLocalDB, compile, buildDatabaseLocal, fisharooCoreTests and fisharooWebTests.

I think that the problem is that buildDataBaseLocal depends on dropDatabase", and that dropDatabase fails on the first time because the Fisharoo database is not attached, so that build fails.

My solution was  to chage the dropDatabase failoneerror to false.



Jun 18, 2009 at 7:07 PM

Yes - one must first clickToBuildDatabase (I think that is the name).  This initializes the db.  Then you can do the clickToBuild.