[MonoDevelop] Monodevelop and Saltarelle compiler

Ian Norton ian.norton-badrul at thales-esecurity.com
Tue Jan 15 18:47:55 UTC 2013


Eek, saltarelle sounds scary.

You could perhaps make a shell script called "mcs" that removes the
/r:lib/mscorlib.dll option and then runs sc. Then put the folder this script is
in at the start of your path.

Ian

On Fri, Jan 11, 2013 at 08:24:16PM +0000, angel colmenares wrote:
> hi, 
> I installed saltarelle compiler in linux and it works fine  from command
> line:
> /opt/mono/bin/sc /r:lib/Script.Linq.dll /r:lib/Script.jQuery.dll
> /r:lib/Script.Web.dll /r:lib/mscorlib.dl /t:exe Main.cs
> ( this produces Main.js )
> but monodevelop  uses mono compiler : /opt/mono/bin/mcs and always adda
> reference to 
> opt/mono/lib/mono/4.0/mscorlib.dll
> opt/mono/lib/mono/4.0/System.Core.dll
> 
> how to indicate to monodevelop to use saltarelle compiler instead of
> "native" mcs and to ignore mono mscorlib and System.Core?
> 
> my environment:
> OS: linux
> mono 3.03 
> monodevelop 3.0.6
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Monodevelop-and-Saltarelle-compiler-tp4658091.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list


More information about the Monodevelop-list mailing list