set the target attribute on the csc task to "library" :

<csc target="library" ...>
    ...
</csc>

Gert

----- Original Message ----- 
From: "Eldo Daniel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 6:04 PM
Subject: [Nant-users] does not have an entry point defined


> I am new to NAnt and am using to build an ASP.NET project.
>
> When I am building a project the error message is:
>
>
> build:
>
> [csc] Compiling 3 files to
C:\danielel\WORK\DAIDS-ES\ARCHDEMO\build\DAIDSES.DataAccess.dll.
>
> error CS5001: Program
'C:\danielel\WORK\DAIDS-ES\ARCHDEMO\build\DAIDSES.DataAccess.dll' does not
have an entry point defined
>
> BUILD FAILED
>
>
> Any help on how to fix this problem is much appreciated.
>
>
> ---------------------------------
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to