Hi Bill,
Here is the build script:
I took out the main bit and still get the same error.
MTIA
Mark
--- [EMAIL PROTECTED] wrote:
> What are you specifying for the target attribute of
> This needs to
> be "winexe" of it is a winforms appplication. If
> you specify "exe" the
> compiler will treat it as a comnole applicaiton and
> therefore look for a
> void Main(). Can you post an example of your build
> script?
>
> Cheers,
>
> Bill
>
>
>
>
>
>
> Mark Howell <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 26/09/2005 15:58
>
>
> To: nant-users@lists.sourceforge.net
> cc:
> Subject:[Nant-users] Visual Studio
> 2005 Beta 2
>
>
> I am having trouble building my VB.NET 2005
> solution.
> This is just an example windows application with a
> single form. I have tried:
>
> configuration="release"
> solutionfile="..\CCTCP.sln" />
>
>
> build:
>
> [solution] Starting solution build.
>
> BUILD FAILED
>
> Microsoft Visual Studio.NET 2005 solutions are not
> supported.
>
> Total time: 0.1 seconds.
>
> I am now trying to write the build file by hand and
> I
> am getting the error:
>
> [vbc] vbc : error BC30420: 'Sub Main' was not found
> in
> 'Form1'.
>
> This is not a console application so there is no Sub
> Main, just the Form1_Load entry point.
>
>
> All help greatly appreciated
>
> MTIA
>
> Mark
>
>
>
>
>
___
> To help you stay safe and secure online, we've
> developed the all new
> Yahoo! Security Centre. http://uk.security.yahoo.com
>
>
>
---
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's
> Geronimo App Server.
> Download it for free - -and be entered to win a 42"
> plasma tv or your very
> own Sony(tm)PSP. Click here to play:
> http://sourceforge.net/geronimo.php
> ___
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nant-users
>
>
>
> As detailed in the company handbook, Avon Insurance
> has the facility to
> monitor and read both incoming and outgoing
> communications by e-mail.
>
> A copy of the company handbook can be found here:
>
http://www.ho.nfumutual.co.uk/mutualnet/HANDBOOK/ITPolicies/ITSecure.htm
>
>
>
>
>
>
> IMPORTANT
> The information contained in this e-mail and any
> attachments is intended for the addressee only
> and may contain legally privileged or confidential
> information. If you are not the intended
> recipient you must not use, disclose, copy,
> distribute, alter, or take any action in reliance
> on the information and Avon Insurance plc will not
> accept liability for any loss or damage howsoever
> arising, directly or indirectly in reliance on it
> and gives no warranty or representation as to its
> accuracy or reliability. If you are not the
> addressee, please notify us immediately on 01789
> 202121*
> and delete the material from your computer and
> destroy any copies.
>
> Avon Insurance plc reserves the right to monitor and
> record incoming and outgoing email messages for
> the purposes of investigating or detecting
> unauthorised use of its system and ensuring its
> effective operation.
> Avon Insurance plc will not accept liability for any
> loss or damage as a result of any virus being passed
> on.
>
> Avon Insurance plc (No. 209606).
> Registered in England. Registered Office: Arden
> Street, Stratford upon Avon,