[mono-vb] Compilation mono-basic under Windows/VS2008

Alexander M. Batishchev abatishchev at godfather.net.ru
Fri Nov 7 06:08:26 EST 2008

Hi everybody,
I'm trying to compile mono-basic from SVN and don't know what to do next.
I called mono-basic\Make.cmd, it compiled
Call of vb-make brings an error:

Could not find file 'D:\Visual Studio
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path)
   at vb_make.Builder.Build() in D:\Visual Studio
2008\Projects\Mono\trunk\mono-basic\tools\win-make\win-make.vb:line 90
   at vb_make.win_make.Main(String[] Args) in D:\Visual Studio
2008\Projects\Mono\trunk\mono-basic\tools\win-make\win-make.vb:line 49

What I have to do?

By the way, if path to mono-basic\Make.cmd and
mono-basic\tools\win-make\Make.cmd contains spaces, an error occurs.
Please add "" into paths:

CALL "%BASEDIR%tools\win-make\Make.cmd"
Instead of
CALL %BASEDIR%tools\win-make\Make.cmd


%COMPILERPATH% "%BASEDIR%tools\win-make\win-make.vb"
-out:"%BASEDIR%tools\win-make\win-make.exe" -r:System.dll %DEFINE%
Instead of
%COMPILERPATH% %BASEDIR%tools\win-make\win-make.vb
-out:%BASEDIR%tools\win-make\win-make.exe -r:System.dll %DEFINE%

Best regards,
Alexander M. Batishchev

More information about the Mono-vb mailing list