Error: vbc : error BC30464

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mchuc7719

    Error: vbc : error BC30464

    Hello,

    I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only
    get errors.

    Before I to run the command line, I open in notepad the .vbproj and I was
    add the next line:

    Target CoreCompile:
    C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Vbc.exe
    /imports:Microso ft.VisualBasic, System,System.C ollections,Syst em.Collections. Generic,System. Data,System.Dia gnostics
    /optionstrict+ /rootnamespace:M yLookup
    /define:"CONFIG= \"Debug\",DEBUG =-1,TRACE=-1,_MyType=\"Win dows\",PLATFORM =\"AnyCPU\",FX1 _1=-1"
    /reference:C:\WI NDOWS\Microsoft .NET\Framework\ v1.1.4322\Syste m.Data.dll,C:\W INDOWS\Microsof t.NET\Framework \v1.1.4322\Syst em.dll,C:\WINDO WS\Microsoft.NE T\Framework\v1. 1.4322\System.D rawing.dll,C:\W INDOWS\Microsof t.NET\Framework \v1.1.4322\Syst em.Windows.Form s.dll,C:\WINDOW S\Microsoft.NET \Framework\v1.1 .4322\System.Xm l.dll
    /debug+ /debug:full /out:obj\FX1_1\D ebug\MyLookup.d ll
    /resource:obj\FX 1_1\Debug\MyLoo kup.frmMain.res ources
    /resource:obj\FX 1_1\Debug\MyLoo kup.Resources.r esources /target:library
    frmMain.Designe r.vb frmMain.vb Lookup.vb "My Project\Assembl yInfo.vb" "My
    Project\Applica tion.Designer.v b" "My Project\Resourc es.Designer.vb" "My
    Project\Setting s.Designer.vb"
    vbc : error BC30464: Namespace or type 'Generic' in the
    project-level Imports 'System.Collect ions.Generic' cannot be found.
    C:\VS2005\MyLoo kup\Lookup.vb(8 ): error BC30456: 'Show' is not a
    member of 'MyLookup.frmMa in'.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 24): error
    BC30002: Type 'Global.System. CodeDom.Compile r.GeneratedCode Attribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 25): error
    BC30002: Type 'Global.System. Diagnostics.Deb uggerNonUserCod eAttribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 26): error
    BC30002: Type
    'Global.System. Runtime.Compile rServices.Compi lerGeneratedAtt ribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 27): error
    BC30002: Type 'Global.Microso ft.VisualBasic. HideModuleNameA ttribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 30): error
    BC30002: Type 'Global.System. Resources.Resou rceManager' is not defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 32): error
    BC30002: Type 'Global.System. Globalization.C ultureInfo' is not defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 37): error
    BC30002: Type 'Global.System. ComponentModel. EditorBrowsable Attribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 38): error
    BC30002: Type 'Global.System. Resources.Resou rceManager' is not defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 41): error
    BC30002: Type 'Global.System. Resources.Resou rceManager' is not defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 52): error
    BC30002: Type 'Global.System. ComponentModel. EditorBrowsable Attribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 53): error
    BC30002: Type 'Global.System. Globalization.C ultureInfo' is not defined.
    C:\VS2005\MyLoo kup\My Project\Resourc es.Designer.vb( 57): error
    BC30002: Type 'Global.System. Globalization.C ultureInfo' is not defined.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(2 0): error
    BC32035: Attribute specifier is not a complete statement. Use a line
    continuation to apply the attribute to the following statement.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(2 1): error
    BC30001: Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(2 3): error
    BC30001: Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(4 0): error
    BC30001: Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(5 6): error
    BC30460: 'End Class' must be preceded by a matching 'Class'.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(6 1): error
    BC30002: Type 'Global.Microso ft.VisualBasic. HideModuleNameA ttribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(6 2): error
    BC30002: Type 'Global.System. Diagnostics.Deb uggerNonUserCod eAttribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(6 3): error
    BC30002: Type
    'Global.System. Runtime.Compile rServices.Compi lerGeneratedAtt ribute' is not
    defined.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(6 6): error
    BC30002: Type 'Global.System. ComponentModel. Design.HelpKeyw ordAttribute' is
    not defined.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(6 7): error
    BC30002: Type 'Global.MyLooku p.My.MySettings ' is not defined.
    C:\VS2005\MyLoo kup\My Project\Setting s.Designer.vb(6 9): error
    BC30451: Name 'Global' is not declared.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(2): error BC32035:
    Attribute specifier is not a complete statement. Use a line continuation to
    apply the attribute to the following statement.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(3): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(6): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(15): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(20): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(107): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(108): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(109): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(110): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(111): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(112): error BC30001:
    Statement is not valid in a namespace.
    C:\VS2005\MyLoo kup\frmMain.Des igner.vb(113): error BC30460: 'End
    Class' must be preceded by a matching 'Class'.
    C:\VS2005\MyLoo kup\frmMain.vb( 13): error BC30506: Handles clause
    requires a WithEvents variable.
    C:\VS2005\MyLoo kup\frmMain.vb( 14): error BC30456: 'Close' is not
    a member of 'MyLookup.frmMa in'.
    C:\VS2005\MyLoo kup\frmMain.vb( 17): error BC30506: Handles clause
    requires a WithEvents variable.
    C:\VS2005\MyLoo kup\frmMain.vb( 58): error BC30456: 'dgvRun' is
    not a member of 'MyLookup.frmMa in'.
    Done building target "CoreCompil e" in project "MyLookup.vbpro j" --
    FAILED.

    Done building project "MyLookup.vbpro j" -- FAILED.

    Please help.
Working...