[MonoDevelop] Vbnc build failed: The system cannot find the file specified

Scott Horowitz scottghorowitz at gmail.com
Sat Dec 4 14:11:38 EST 2010


Hi,

I'm running MonoDevelop on WinXP with Mono 2.8.1. My solution has a mixture
of C# and VB.NET <http://vb.net/> code. All of the C# projects compile fine,
but the VB.NET <http://vb.net/> projects give the following error:

"vbnc.bat
"-out:C:\Code\BEopt2\Source\BEoptCustomControl\bin\Debug\BEoptCustomControl.dll"
-nologo -utf8output -quiet -debug:full -optionstrict- -optionexplicit+
-optioncompare:binary -optioninfer+ -define:_MYTYPE=\"Windows\"
-rootnamespace:BEoptCustomControl "-define:_MYFORMS=True" -define:DEBUG=-1
-define:TRACE=-1
-nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
"-doc:BEoptCustomControl.xml" -target:library  "-r:C:\Program
Files\Mono-2.8.1\lib\mono\2.0\System.dll" "-r:C:\Program
Files\Mono-2.8.1\lib\mono\2.0\System.Data.dll" "-r:C:\Program
Files\Mono-2.8.1\lib\mono\2.0\System.Drawing.dll" "-r:C:\Program
Files\Mono-2.8.1\lib\mono\2.0\System.Windows.Forms.dll"
"C:\Code\BEopt2\Source\BEoptCustomControl\My
Project\Application.Designer.vb"
"C:\Code\BEopt2\Source\BEoptCustomControl\SpaceRadioBtn.Designer.vb"
"C:\Code\BEopt2\Source\BEoptCustomControl\SpaceRadioBtn.vb"
"C:\Code\BEopt2\Source\BEoptCustomControl\My Project\AssemblyInfo.vb"
"C:\Code\BEopt2\Source\BEoptCustomControl\My Project\Resources.Designer.vb"
"C:\Code\BEopt2\Source\BEoptCustomControl\My Project\Settings.Designer.vb"
"-resource:C:\Code\BEopt2\Source\BEoptCustomControl\My
Project\Resources.resources,BEoptCustomControl.My_Project.Resources.resources"
"-resource:C:\Code\BEopt2\Source\BEoptCustomControl\SpaceRadioBtn.resources,BEoptCustomControl.SpaceRadioBtn.resources"
-imports:Microsoft.VisualBasic -imports:System -imports:System.Collections
-imports:System.Collections.Generic -imports:System.Data
-imports:System.Drawing -imports:System.Diagnostics
-imports:System.Windows.Forms

Build failed. The system cannot find the file specified"

Oddly enough, if I simply open a cmd.exe window and paste in the above
command, it compiles fine. What can be the problem?

Thanks,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20101204/69ffadb4/attachment.html 


More information about the Monodevelop-list mailing list