Hello everybody!!!! I have a never ending problem with NAnt. I have 2 projects, DataAccess Project and Exception Management Project. The Exception Management Project has direct file references to 2 dlls (Microsoft Application Exception Blocks dlls). The DataAccess Project has a project reference to Exception Management Project.The solution builds successfully in visual studio. But when i run my build script the build breaks at the DataAccess Project at the point where it looks for the microsoft application blocks dlls. When i modify the .vbproj file of the DataAccess Project giving direct references to these dlls giving hint paths and then when i run the build, it works fine. i tried to provide the directory folder where the dlls are within the assembly folders task. but for some reason the buiuld script is not looking into the assembly folders for the dll refernce.here is my build script...
<property name="AssemblyDirectory" value="C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAgents\Dependencies\MSExceptionBlock" /> <solution solutionfile="C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\slnCFocus.sln" configuration="debug" verbose="true"> <assemblyfolders> <include name="${AssemblyDirectory}" /> </assemblyfolders> <webmap> <map url="http://localhost/CFocus/CFocus.vbproj" path="C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\CFocus.vbproj" /> </webmap> </solution> here is a lil snap shot of my error report...... C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\DataAccess\ActionRequests\Pa c2000\AddressChangeRequestData.vb(181) : error BC30007: Reference required to assembly 'Microsoft.Ap plicationBlocks.ExceptionManagement' containing the base class 'Microsoft.ApplicationBlocks.Exceptio nManagement.BaseApplicationException'. Add one to your project. Throw ExceptionHandler.NewEmptyDatasetException("The table (tblAddre ssChangeRequests) has no data.") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Could any one here please let me know if there is a fix for this problem. Thanks, Madhan. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users