Question

I'm curious if it's possible to use the nantcontrib task in combination with Mono's xbuild.exe instead of it's intended msbuild.exe.

My initial experiments aren't looking too promising; the task looks for msbuild.exe, so I symlink'd xbuild.exe to msbuild.exe but the task is failing with a

External Program Failed: /usr/lib/mono/2.0/msbuild.exe (return code was 1):

Is it possible to use xbuild as a direct substitute for msbuild? If not, any input on getting a NAnt task to build a Visual Studio Solution (.sln) under mono would be appreciated!

Was it helpful?

Solution

Look at this similar question. Furthermore, consider using NAnt's simple <exec> element instead of NAntContrib's <msbuild> wrapper.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top