By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,979 Members | 943 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,979 IT Pros & Developers. It's quick & easy.

Error: vbc : error BC30464

P: n/a
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\Microsoft.NET\Framework\v1.1.4322\Vbc.e xe
/imports:Microsoft.VisualBasic,System,System.Collec tions,System.Collections.Generic,System.Data,Syste m.Diagnostics
/optionstrict+ /rootnamespace:MyLookup
/define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,_MyType=\"Windows\",PLATFORM=\"AnyCPU\",FX1_1=-1"
/reference:C:\WINDOWS\Microsoft.NET\Framework\v1.1. 4322\System.Data.dll,C:\WINDOWS\Microsoft.NET\Fram ework\v1.1.4322\System.dll,C:\WINDOWS\Microsoft.NE T\Framework\v1.1.4322\System.Drawing.dll,C:\WINDOW S\Microsoft.NET\Framework\v1.1.4322\System.Windows .Forms.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1 .4322\System.Xml.dll
/debug+ /debug:full /out:obj\FX1_1\Debug\MyLookup.dll
/resource:obj\FX1_1\Debug\MyLookup.frmMain.resource s
/resource:obj\FX1_1\Debug\MyLookup.Resources.resour ces /target:library
frmMain.Designer.vb frmMain.vb Lookup.vb "My Project\AssemblyInfo.vb" "My
Project\Application.Designer.vb" "My Project\Resources.Designer.vb" "My
Project\Settings.Designer.vb"
vbc : error BC30464: Namespace or type 'Generic' in the
project-level Imports 'System.Collections.Generic' cannot be found.
C:\VS2005\MyLookup\Lookup.vb(8): error BC30456: 'Show' is not a
member of 'MyLookup.frmMain'.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(24): error
BC30002: Type 'Global.System.CodeDom.Compiler.GeneratedCodeAttri bute' is not
defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(25): error
BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttr ibute' is not
defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(26): error
BC30002: Type
'Global.System.Runtime.CompilerServices.CompilerGe neratedAttribute' is not
defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(27): error
BC30002: Type 'Global.Microsoft.VisualBasic.HideModuleNameAttrib ute' is not
defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(30): error
BC30002: Type 'Global.System.Resources.ResourceManager' is not defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(32): error
BC30002: Type 'Global.System.Globalization.CultureInfo' is not defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(37): error
BC30002: Type 'Global.System.ComponentModel.EditorBrowsableAttri bute' is not
defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(38): error
BC30002: Type 'Global.System.Resources.ResourceManager' is not defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(41): error
BC30002: Type 'Global.System.Resources.ResourceManager' is not defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(52): error
BC30002: Type 'Global.System.ComponentModel.EditorBrowsableAttri bute' is not
defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(53): error
BC30002: Type 'Global.System.Globalization.CultureInfo' is not defined.
C:\VS2005\MyLookup\My Project\Resources.Designer.vb(57): error
BC30002: Type 'Global.System.Globalization.CultureInfo' is not defined.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(20): error
BC32035: Attribute specifier is not a complete statement. Use a line
continuation to apply the attribute to the following statement.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(21): error
BC30001: Statement is not valid in a namespace.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(23): error
BC30001: Statement is not valid in a namespace.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(40): error
BC30001: Statement is not valid in a namespace.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(56): error
BC30460: 'End Class' must be preceded by a matching 'Class'.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(61): error
BC30002: Type 'Global.Microsoft.VisualBasic.HideModuleNameAttrib ute' is not
defined.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(62): error
BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttr ibute' is not
defined.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(63): error
BC30002: Type
'Global.System.Runtime.CompilerServices.CompilerGe neratedAttribute' is not
defined.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(66): error
BC30002: Type 'Global.System.ComponentModel.Design.HelpKeywordAt tribute' is
not defined.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(67): error
BC30002: Type 'Global.MyLookup.My.MySettings' is not defined.
C:\VS2005\MyLookup\My Project\Settings.Designer.vb(69): error
BC30451: Name 'Global' is not declared.
C:\VS2005\MyLookup\frmMain.Designer.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\MyLookup\frmMain.Designer.vb(3): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(6): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(15): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(20): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(107): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(108): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(109): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(110): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(111): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(112): error BC30001:
Statement is not valid in a namespace.
C:\VS2005\MyLookup\frmMain.Designer.vb(113): error BC30460: 'End
Class' must be preceded by a matching 'Class'.
C:\VS2005\MyLookup\frmMain.vb(13): error BC30506: Handles clause
requires a WithEvents variable.
C:\VS2005\MyLookup\frmMain.vb(14): error BC30456: 'Close' is not
a member of 'MyLookup.frmMain'.
C:\VS2005\MyLookup\frmMain.vb(17): error BC30506: Handles clause
requires a WithEvents variable.
C:\VS2005\MyLookup\frmMain.vb(58): error BC30456: 'dgvRun' is
not a member of 'MyLookup.frmMain'.
Done building target "CoreCompile" in project "MyLookup.vbproj" --
FAILED.

Done building project "MyLookup.vbproj" -- FAILED.

Please help.
Jul 26 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.