[Mono-dev] VB.NET and Monodevelop problem

Rolf Bjarne Kvinge rolflists at ya.com
Mon Nov 3 04:35:33 EST 2008

> Not sure where the problem is with this. I'm using Monodevelop 1.9,
> Mono-2.0.1, mono-basic 2.
> I've created an application in VB.NET 2005 and imported it into MD.
> It's fine and I can run the binary (created under VB) without a hitch.
> When I try and build under MD, I'm getting the following errors (line :
> description)
> 26 : Too many arguments provided to 'Sub New(())'. (VBNC30057)
> 27 : 'IsSingleInstance' is not a member of
> 'BNFAnalyser.My.MyApplication' (VBNC30456)
> 28 : 'EnableVisualStyles' is not a member of
> 'BNFAnalyser.My.MyApplication' (VBNC30456)
> 29: 'SaveMySettingsOnExit' is not a member of
> 'BNFAnalyser.My.MyApplication'
> 30: 'ShutDownStyle; is not a member of 'BNFAnalyser.My.MyApplication'
> 35: 'MainForm' is not a member of 'BNFAnalyser.My.MyApplication)
> All the errors are comming from Application.Designer.vb (source below).

In the project's compiler options page there's a textbox for additional compiler arguments.



(Quotes included)

For some reason (which I haven't investigated yet), when vbnc generates the My namespace code, it thinks the app is a console app.


More information about the Mono-devel-list mailing list