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

Alexander M. Batishchev abatishchev at godfather.net.ru
Mon Nov 10 13:26:03 EST 2008

Hi Rolf,
Thanks you for your answer, it was just what i was looking for!
Could you please add quotes in mono-basic\Make.cmd and

 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%

In case a path contains spaces, it doesn't works.

-----Original Message-----
From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com] 
Sent: Saturday, November 08, 2008 1:30 AM
To: 'Alexander M. Batishchev'; mono-vb at lists.ximian.com
Subject: RE: [mono-vb] Compilation mono-basic under Windows/VS2008


If you're using VS, there are solutions files for you to use
(vbruntime/Microsoft.VisualBasic/VB2005.vbproj and
vbnc/vbnc/source/vbnc.vbproj I think it is).

If you're using cygwin it's the standard "configure && make && make" in the
top directory.

All the other scripts are for other, special purposes (testing, etc).


> -----Original Message-----
> From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
> bounces at lists.ximian.com] On Behalf Of Alexander M. Batishchev
> Sent: viernes, 07 de noviembre de 2008 12:08
> To: mono-vb at lists.ximian.com
> Subject: [mono-vb] Compilation mono-basic under Windows/VS2008
> 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
> mono-basic\tools\win-make\vb-make.exe
> Call of vb-make brings an error:
> win-make
> Building...
> Could not find file 'D:\Visual Studio
> 2008\Projects\Mono\trunk\mono-basic\tools\win-make\Makefile'.
>    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
> bFromProxy)
>    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:
> mono-basic\Make.cmd:3
> CALL "%BASEDIR%tools\win-make\Make.cmd"
> Instead of
> CALL %BASEDIR%tools\win-make\Make.cmd
> and
> mono-basic\tools\win-make\Make.cmd:21
> %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
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb

More information about the Mono-vb mailing list