[Mono-dev] VB.NET and Monodevelop problem

Paul paul at all-the-johnsons.co.uk
Sun Nov 2 09:57:18 EST 2008


Hi,

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).

Namespace My
    
    'NOTE: This file is auto-generated; do not modify it directly.  To
make changes,
    ' or if you encounter build errors in this file, go to the Project
Designer
    ' (go to Project Properties or double-click the My Project node in
    ' Solution Explorer), and make changes on the Application tab.
    '
    Partial Friend Class MyApplication
        
        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
        Public Sub New()

MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.ApplicationDefined)
            Me.IsSingleInstance = false
            Me.EnableVisualStyles = true
            Me.SaveMySettingsOnExit = false
            Me.ShutDownStyle =
Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
        End Sub
        
        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
        Protected Overrides Sub OnCreateMainForm()
            Me.MainForm = Global.BNFAnalyser.Form1
        End Sub
    End Class
End Namespace

Do I need to put this into bugzilla or is it a known issue being fixed?

TTFN

Paul
-- 
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081102/79c07eb2/attachment-0001.bin 


More information about the Mono-devel-list mailing list