From: mchuc7719 on 26 Jul 2006 18:11 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.exe /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.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\Framework\v1.1.4322\System.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll,C:\WINDOWS\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.resources /resource:obj\FX1_1\Debug\MyLookup.Resources.resources /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.GeneratedCodeAttribute' is not defined. C:\VS2005\MyLookup\My Project\Resources.Designer.vb(25): error BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttribute' is not defined. C:\VS2005\MyLookup\My Project\Resources.Designer.vb(26): error BC30002: Type 'Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute' is not defined. C:\VS2005\MyLookup\My Project\Resources.Designer.vb(27): error BC30002: Type 'Global.Microsoft.VisualBasic.HideModuleNameAttribute' 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.EditorBrowsableAttribute' 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.EditorBrowsableAttribute' 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.HideModuleNameAttribute' is not defined. C:\VS2005\MyLookup\My Project\Settings.Designer.vb(62): error BC30002: Type 'Global.System.Diagnostics.DebuggerNonUserCodeAttribute' is not defined. C:\VS2005\MyLookup\My Project\Settings.Designer.vb(63): error BC30002: Type 'Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute' is not defined. C:\VS2005\MyLookup\My Project\Settings.Designer.vb(66): error BC30002: Type 'Global.System.ComponentModel.Design.HelpKeywordAttribute' 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 matc
|
Pages: 1 Prev: Export Template Wizard Next: The request could not be submitted for background processing |