Shoot - I must sheepishly reply that this actually works correctly in the latest nightly build.  (I had a pre release cand. 2 build I was using...)
 
Sorry for the chatter...


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Johnson
Sent: Friday, June 10, 2005 3:45 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] Bug in <solution> tag concerning PreBuild events

 
It appears that PreBuild events when run in Nant does not exactly run pre-build.  We have as a pre-build step two commands that do the following:
 
1) delete a .dll the project uses as a reference
2) runs the tlbimp command to recreate the DLL
 
If the DLL does not exist (because this never ran before for a user) then the Pre-Build event actually never runs.  Rather it fails because a referenced DLL does not exist.  (Which would have been there if the pre-build event ran!!!)
 
Also, if the DLL exists is also fails because the DLL is locked.  I assume this happened because in the process of checking dependant DLLs Nant has locked the DLL.
 
Would this be a hard bug to get fixed in Nant?
 
Ray

Reply via email to