prosseek
prosseek

Reputation: 190659

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).

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?

ADDED

As is asked and answered here, the newest nightly build supports the mono C# 4.0.

Upvotes: 1

Views: 732

Answers (2)

Lex Li
Lex Li

Reputation: 63123

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. http://www.mono-project.com/Microsoft.Build

Upvotes: 0

prosseek
prosseek

Reputation: 190659

I found that mono-4.0 is not supported for newest version of Nant (0.91 Alpha).

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

Upvotes: 0

Related Questions