NAnt (CVS version) still uses mbas instead of vbnc as the Visual Basic compiler on Mono. However, mbas is deprecated.
This patch enables support for vbnc for mono-2.0 under Linux and Windows. Mono 1.2.3 will ship (today?) with preview support for vbnc.
Patch:
RCS file: /cvsroot/nant/nant/src/NAnt.Console/App.config,v
retrieving revision 1.27
diff -r1.27 App.config
736,737c736
< <!-- there is no mbas for the 2.0 profile yet -->
< <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')}</attribute>
---
> <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/2.0/vbnc.exe')}</attribute>
973,974c972
< <!-- there is no mbas for the 2.0 profile yet -->
< <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute>
---
> <attribute name="exename">${path::combine(prefix, 'lib/mono/2.0/vbnc.exe')}</attribute>
Patch providing support for vbnc
Logged In: YES
user_id=1149415
Originator: YES
Assigning this to Gert, as he seems to be actively involved in both Nant and Mono.
Logged In: YES
user_id=707851
Originator: NO
This is now fixed in CVS, and available in the latest nighlty build.
Bedankt !