Ian,

Your idea gave us the hint! The path and everything we specify in the build in here is 
case-sensitive. It works fine now.

Thanks.

-----Original Message-----
From: Ian MacLean [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 7:32 PM
To: Wang, Gang
Cc: [EMAIL PROTECTED]
Subject: Re: [Nant-users] NAnt 0.8.1.0 Compile Error


Wang,
what does your build file look like ? There have been some changes to 
the fileset code which may be why there are two files being selected. 
Try building with the -verbose flag set. This will output the exact 
commandline being passed to vbc.exe so you'll be able to see which files 
are being passed.

Ian
> We are trying to compile and build code in VB.NET using NAnt Version 0.8.1.0. We are 
> getting errors on this. 
> The same source code compiles in the earlier version of NAnt 0.7.9.0.
> 
> The error is 
> -----------------
>       [vbc] Compiling 2 files to C:\projects\Enterprise .NET\dev\build\bin\debug
> \BestBuy.Enterprise.dll
> /imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diag
> nostics
> 
> BUILD FAILED
> C:\projects\Enterprise .NET\dev\BestBuy.Enterprise.build(187,10):
>  External Program Failed: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\vbc.exe ret
> urn 1
> Output:
> C:\projects\Enterprise .NET\dev\bestbuy.enterprise\src\configuration\TimeoutExce
> ption.vb(14) : error BC30175: class 'TimeoutException' and class 'TimeoutExcepti
> on', declared in 'C:\projects\Enterprise .NET\dev\BestBuy.Enterprise\src\configu
> ration\TimeoutException.vb', conflict in namespace 'Threading'.
> 
>     Public Class TimeoutException
>                  ~~~~~~~~~~~~~~~~
> 
> Try 'nant -help' for more information
> ---------------------------------
> 
> The key point is that there is only ONE file. It says that it is compiling TWO files.
> We are using a build file that was provided in the SDK. 
> 
> Any ideas or solutions?
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users






-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to