Madhan,

What version of NAnt are you using ?  Can you try using a recent nightly
build ?

Thanks,

Gert


----- Original Message -----
From: "Madhan Retnaswamy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 04, 2004 8:23 PM
Subject: [Nant-users] Build Breaks Down (error BC3007: Reference required to
assembly. Add one to your Project)


> 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 also references these
> dlls but it has a project reference to Exception Management Project
> and not direct file reference.The solution builds successfully in
> visual studio. But when i run my Nant 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 file references to these dlls giving hint
> paths to the dlls and then when i run the build, it works fine. But i
> dont want to change my project file every time. Then i tried to
> provide
> the directory folder where the dlls reside within the assembly folders
> task. but for some reason the buiuld script is not looking into the
> assembly folders for the dll refernce and it breaks up.here is my
> build script...
>
>
> <property name="AssemblyDirectory"
>
value="C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAg
ents\Dependencies\MSExceptionBlock"
> />
>
> <solution
>
solutionfile="C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\sl
nCFocus.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\CFo
cus.vbproj"
> />
> </webmap>
> </solution>
>
>
> here is a lil snap shot of my error report......
>
>
>
C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\DataAccess\Actio
nRequests\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.")
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Any fix for this problem greatly appreciated!!!
>
> 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
>



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

Reply via email to