Hi

I've ported some code from VB.NET to C# and I compile it using Nant.
However, after I changed the vbc task to the csc task I get a Nant error
complaining that it cannot find the input files to compile.  I eventually
solved the problem by including a basedir attribute on the sources node of
the csc task to point to the directory where the source code is.  However,
I did not have to do this when compiling the code with the vbc task.  What
is the difference and what am I missing?  I include both the C# and VB.Net
working build files with the relevant sections included.  Look at the
difference between the sources tag in both of the vbc and csc tasks.

Thanks

C#Version:

(See attached file: SanQuote.Mainframe.OMS.build)

VB .NET version

(See attached file: SanQuote.Mainframe.OMS.build)


Carel Lotz
Lead Developer: SanQuote
Phone: +27 21 947 6708
Fax: +27 21 947 4682
E-mail: [EMAIL PROTECTED]

The contents of this e-mail, which may include one or more attachments, is
strictly confidential, and is intended solely for the use of the named
recipient(s). If you have received this e-mail in error, you are not
permitted to and must not disclose, distribute, or retain it, and are
requested to please notify the sender immediately by return e-mail and
delete it thereafter.

E-mail is not necessarily secure or error free as information could arrive
late or contain viruses or could be incomplete, intercepted, corrupted,
lost or destroyed. It is the responsibility of the named recipient(s) to
ensure that e-mails are virus free. No employee or intermediary is
authorised to conclude a binding agreement on behalf of Sanlam by e-mail
without express written confirmation by a duly authorised representative of
Sanlam. The use or contents of this e-mail is intended for Sanlam's
business.  If it is used for any other purpose, the views expressed are
those of the sender and no liability will attach to Sanlam.

Sanlam Life Insurance Limited  Reg no 1998/021121/06
Directors: G.E. Rudman (Chairman), L. Lambrechts (Chief Executive Officer),
P. de V. Rademeyer, V.P. Khanyile, D. Lessing, C.E. Maynard, C.G.
Swanepoel, J. van Zyl, J.J.M. van Zyl, H.C. Werth, A.P. Zeeman. Alternate
Director: J.P. Möller.  Company Secretary: J.P. Bester

Attachment: SanQuote.Mainframe.OMS.build
Description: Binary data

Attachment: SanQuote.Mainframe.OMS.build
Description: Binary data

Reply via email to