[mono-vb] errors in buildin VB.net code

Rolf Bjarne Kvinge rolflists at ya.com
Wed Jun 10 17:43:27 EDT 2009


Hi,
 
> 
> Hi,
> 
> 
>        Iam new to mono and VB can some one help me here, when i build
> my
> project in monodevelop then following errors occured.
> 
> 
> /My Project/Application.Designer.vb (26,20) : Error VBNC30057: Too many
> arguments provided to 'Sub New(())'.
> 
> /My Project/Application.Designer.vb (27,16) : Error VBNC30456:
> 'IsSingleInstance' is not a member of 'Test1.My.MyApplication'.
> 
> My Project/Application.Designer.vb (28,16) : Error VBNC30456:
> 'EnableVisualStyles' is not a member of 'Test1.My.MyApplication'.
> 
> /My Project/Application.Designer.vb (29,16) : Error VBNC30456:
> 'SaveMySettingsOnExit' is not a member of 'Test1.My.MyApplication'.
> 
> /My Project/Application.Designer.vb (30,16) : Error VBNC30456:
> 'ShutDownStyle' is not a member of 'Test1.My.MyApplication'.
> 
> /My Project/Application.Designer.vb (35,16) : Error VBNC30456:
> 'MainForm' is
> not a member of 'Test1.My.MyApplication'.
> 
> 

Go to the project's option (right click the project in the solution pad,
select 'Options').

Now if you have a newer MonoDevelop, you should go to the Build/General page
and select WindowsForms as "My Type".

If you can't find that option, go to the Build/Compiler page and add
-define:_MYTYPE=\"WindowsForms\" to the "Additional compiler arguments"

Rolf


> 
> 
> --
> View this message in context: http://www.nabble.com/errors-in-buildin-
> VB.net-code-tp23886045p23886045.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb



More information about the Mono-vb mailing list