简体   繁体   English

设置Nant在Mono上使用dmcs(C#4.0)

[英]Setting up Nant to use dmcs (C# 4.0) on Mono

Running Nant -v on mono gives informs me it uses gmcs.exe (C# 2.0). mono上运行Nant -v会通知我它使用gmcs.exe(C#2.0)。

Starting '/Library/Frameworks/Mono.framework/Versions/2.8/bin/mono ( 
"/Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/2.0/gmcs.exe"

How to setup Nant to use dmcs.exe (C# 4.0) on Mono? 如何设置Nant在Mono上使用dmcs.exe(C#4.0)?

ADDED 添加

As is asked and answered here , the newest nightly build supports the mono C# 4.0. 由于被要求回答在这里 ,最新的每晚构建支持单C#4.0。

I found that mono-4.0 is not supported for newest version of Nant (0.91 Alpha). 我发现最新版本的Nant(0.91 Alpha)不支持mono-4.0。

http://nant.sourceforge.net/faq.html http://nant.sourceforge.net/faq.html

If it is not supported yet, you should wait for a fix or work out a fix on your own. 如果尚不支持此功能,则应等待修复程序或自行制定修复程序。

If you cannot wait, simply switch to Mono XBuild. 如果您不能等待,只需切换到Mono XBuild。 http://www.mono-project.com/Microsoft.Build http://www.mono-project.com/Microsoft.Build

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM