Madham,
Try creating a response file for vbc, containing the same information as output by NAnt in your build file.
eg. :
/target:library
/nologo
/rootnamespace:WFB.CFocus
/optionexplicit+
/optionstrict+
/optioncompare:binary
/d:DEBUG=true
/d:TRACE=true
/baseaddress:11000000
/optimize-
/debug+
/warnaserror+
/out:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\bin\WFB.CFocus.dll"
/Imports:Microsoft.VisualBasic,System,System.Collections,System.Configuration,System.Data,System.Drawing,System.Web,System.Web.UI,System.Web.UI.HtmlControls,System.Web.UI.WebControls,
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.DirectoryServices.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Web.dll"
/r:"C:\Program Files\Microsoft.Net\Odbc.Net\Microsoft.Data.Odbc.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ExceptionManagement\bin\WFB.CFocus.ExceptionManagement.dll"
/r:"C:\Program Files\Common Files\Data Dynamics\ActiveReports for .NET\ActiveReports.PdfExport.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAgents\Dependencies\AppCommunicator\WFB.AppCommunication.BusinessRules.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\JacadaAccess\bin\WFB.CFocus.JacadaAccess.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAgents\bin\WFB.CFocus.ServiceAgents.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CDBAccess\bin\WFB.CFocus.CDBAccess.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAgents\Dependencies\ServerControls\PetersDatePackage.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\DataAccess\bin\WFB.CFocus.DataAccess.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\LDAPAccess\bin\WFB.CFocus.LDAPAccess.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\IDSAccess\bin\WFB.CFocus.IDSAccess.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Microsoft.ApplicationBlocks.ExceptionManagement.dll"
/r:"C:\Program Files\Common Files\Data Dynamics\ActiveReports for .NET\ActiveReports.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ODSPASAccess\bin\WFB.CFocus.ODSPASAccess.dll"
/r:"C:\Program Files\Microsoft Internet Explorer WebControls\Microsoft.Web.UI.WebControls.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Web.Services.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Data.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\BusinessFacade\bin\WFB.CFocus.BusinessFacade.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Xml.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Drawing.dll"
/r:"C:\Program Files\Common Files\Data Dynamics\ActiveReports for .NET\ActiveReports.Viewer.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Design.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\BusinessRules\bin\WFB.CFocus.BusinessRules.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Windows.Forms.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAgents\Dependencies\MSCacheBlock\Microsoft.ApplicationBlocks.Data.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAgents\Dependencies\MSCacheBlock\Microsoft.ApplicationBlocks.Cache.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\ServiceAgents\Dependencies\MSCacheBlock\Microsoft.ApplicationBlocks.MemoryMappedFile.dll"
/r:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\SystemFramework\bin\WFB.CFocus.SystemFramework.dll"
/r:"C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\System.Configuration.Install.dll"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucUserInformation.resources","WFB.CFocus.ucUserInformation.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucStates.resources","WFB.CFocus.ucStates.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucShowMessage.resources","WFB.CFocus.ucShowMessage.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucHome.resources","WFB.CFocus.ucHome.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucHelp.resources","WFB.CFocus.ucHelp.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucCodeOfTheDay.resources","WFB.CFocus.ucCodeOfTheDay.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucAppInfo.resources","WFB.CFocus.ucAppInfo.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.PleaseWait.resources","WFB.CFocus.PleaseWait.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.NavigationSub.resources","WFB.CFocus.NavigationSub.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.NavigationMain.resources","WFB.CFocus.NavigationMain.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.ucNavButtons.resources","WFB.CFocus.ucNavButtons.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.Information.resources","WFB.CFocus.Information.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.CfocusHeader.resources","WFB.CFocus.CfocusHeader.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.TakeCalls2.resources","WFB.CFocus.TakeCalls2.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.BlankActivity.resources","WFB.CFocus.BlankActivity.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.BasePage.resources","WFB.CFocus.BasePage.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.StressTest.resources","WFB.CFocus.StressTest.resources"
/res:"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\obj\Debug\WFB.CFocus.PacStressTest.resources","WFB.CFocus.PacStressTest.resources"
.....
.....
"C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\Activities\TakeCalls\AccountInformation\ActionWizard\UserControls\ucDeliveriesHow.ascx.vb" "C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\Activities\TakeCalls\AccountInformation\ActionWizard\UserControls\ucCorrespondenceRequest.ascx.vb" "C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\Activities\TakeCalls\AccountInformation\UserControls\ucServiceCallInformation.ascx.vb" "C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\Exceptions\ucDisplayError.ascx.vb" "C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\Activities\TakeCalls\AccountInformation\ActionWizard\AutoNoteRequestedEventArgs.vb" "C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\Activities\TakeCalls\AccountInformation\ActionWizard\UserControls\ucFeeWaiverRequest.ascx.vb" "C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\PrintShop\Classes\ActionRequests\StopPaymentPrintData.vb" "C:\Development\VisualStudioNet\Projects\sysCFocus\slnCFocus\CFocus\Services\IVRUData\Classes\Account.vb"
.....
and save this to, for example, response.txt, and pass this response file on to the vbc compiler :
eg. vbc.exe @response.txt
If that problem still presistswhen using vbc.exe (which I'm pretty sure it will), then its definitely a bug in the MS vb.net compiler.
Hope this helps,
Gert
----- Original Message ----- From: "Madhan Retnaswamy" <[EMAIL PROTECTED]>
To: "Felice Vittoria" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, August 24, 2004 11:52 PM
Subject: Re: [Nant-users] Problem with the latest nightly build.
Gert/Felice,
The issue is very wierd and i dont know how to reproduce this in a different test project and send it to you. I dont think i can send the original project (company's project) here. I also noticed another interesting stuff going on in the build with both net 1.1 and net 1.0. I ran the build script with both net 1.1 and net 1.0 and i compared the list of files compilled by Nant with both net 1.1 and net 1.0. i found that with net 1.1 all files are getting compilled and the build is successful. With net 1.0 also, all files are getting compilled successfully but still for whatever reason after the final file is compiled, vbc still looks for files in a folder and terminates with an error that file could not be found.This is absolutely wierd!!!!. i dont know why vbc in .Net 1.0 looks for files even after it successfully compiles all the files in the project folder.
Sorry Gert..i dont know how to reproduce this error. let me know if you have any ideas??? Is it a good idea to call microsoft on this issue.
i am also attaching the build out put for both build with net version 1.1 and 1.0. their filesnames are 1-1.txt and 1-0.txt.
Thanks,
Madhan.
On Tue, 24 Aug 2004 13:40:27 -0500, Felice Vittoria <[EMAIL PROTECTED]> wrote:Madhan,
Thanks. However, I don't think of myself as a great supporter of the nant group. I like to help when I can.
As for your error, I'm not using .NET 1.0 for my builds nor am I using solution tasks .. I'm using .NET 1.1 and the DevEnv environment. So .. my build tasks look something like this:
<target name="buildApps">
[snip]
<property name="proj.rootdir" value="${src.dir}\Components\ECL\Applications" />
<property name="proj.subdir" value="Scheduler" />
<property name="proj.name" value="FundingApp.vbproj" />
<call target="compile" />
[snip]
</target>
<target name="compile">
<echo message="Compiling: ${proj.rootdir}\${proj.subdir}\${proj.name}" />
<exec program="C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com" commandline=""${proj.rootdir}\${proj.subdir}\${proj.name}" /build ${build.config}" />
</target>
Note: I used [snip] cause there's more components to build. I'm using this method for now. At a later date I will be converting to use solution tasks and *.sln files.
Felice
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Madhan Retnaswamy Sent: Tuesday, August 24, 2004 12:32 PM To: Felice Vittoria Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Nant-users] Problem with the latest nightly build.
Hi Felice/Gert,
You guys are doing an awesome job supporting the nant group but i know we are all helpless in this issue. I am just trying to get some hint on this error. Yeah even i tried searching this error in MSDN knowledge base and through out the google search. but no help... Something just hit my mind now. If this is a microsoft issue with vb compiler in net version 1.0, then why is that only me have this error. is there any one else in this user group have got this error and if yes what other option they tried to use to get the build working.
Thanks,
Madhan.
On Tue, 24 Aug 2004 07:04:19 -0500, Felice Vittoria
<[EMAIL PROTECTED]> wrote:
> Madhan,
>
> I don't know of any updates to this issue. I tried searching the MSDN > KB for "Command line error BC2001" without any luck.
>
> Felice
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Madhan
> Retnaswamy
> Sent: Monday, August 23, 2004 5:59 PM
> To: Felice Vittoria; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Nant-users] Problem with the latest nightly build.
>
> Hi Guys,
>
> Any updates on my issue??? I am wondering if there are any fixes
> issued by Microsoft to resolve this issue. Please let me know if there
> is any solution to this problem.
>
> thanks,
>
> Madhan.
>
> On Mon, 23 Aug 2004 13:57:37 -0500, Felice Vittoria
> <[EMAIL PROTECTED]> wrote:
> > Madhan,
> >
> > The latest nightly build is nant-0.85-20040820 ... try that.
> >
> > Felice
> >
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Madhan
> > Retnaswamy
> > Sent: Monday, August 23, 2004 1:33 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: [Nant-users] Problem with the latest nightly build.
> >
> > Hello Guys!!!
> >
> > I am using the latest nightly build - nant-0.85-20040817, with .NET
> > Run time version 1.0. i have both SDK 1.0 and SDK 1.1 installed and
> > iam getting this error when trying to build my solution.
> >
> > [solution] vbc : Command line error BC2001 : file
> > 'C:\Development\VisualStudioNet\Projects\sysCFocu
> > s\slnCFocus\CFocus\Activities\TakeC' could not be found
> > [solution] Failure! (exit code = 1)
> > [solution] Build failed.
> > [solution] Project 'CFocus' failed!
> > [solution] Continuing build with non-dependent projects.
> >
> > "TakeC" at the end of the filepath is actually a fodler called
> > "TakeCalls" and there are nearly 150 source files inside that folder.
> > I dont know which file inside the "TakeCalls" folder that nant is
> > trying to locate and dont know why it fails to find that file. The
> > project builds successfully in VS.NET but fails with NAnt.
> >
> > I am not able to produce a repro for this error. So guys have any one
> > here has come across a simillar error like this or any clues what
> > would be going wrong.
> >
> > Appreciate all your comments in this.
> >
> > Thanks,
> >
> > Madhan.
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank > > Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > Nant-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-users
> >
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
