[Mono-list] XBuild & VS2005 Projects

Marek Sieradzki marek.sieradzki at gmail.com
Sat Jan 7 19:08:25 EST 2006


Dnia 04-01-2006, śro o godzinie 23:03 -0500, Norman Young napisał(a):
> Hi,
> 
> I'm a VS2005 (RC) user, but am new to Mono and am interested in
> getting my VS2005 projects to build on Mono.  A few questions:
> 
> 1) What's the best way to get VS2005 projects to build on Mono?  I saw
> a post in the November archives that Prj2Make has yet to be updated to
> handle VS2005 .csproj files.  Is there an alternative?  Is the only
> way just to write a makefile?  How about NAnt?

There are NAnt add-ins to VS so you can use NAnt files and use them
under Linux. XBuild is not in that stage that would allow
building .csproj files from VS2005.
> 
> 2) Is it possible to run msbuild on mono?  I tried with little
> success, but I'm not sure if I'm doing something wrong.

I tried to do that. MSBuild uses something that can be run only under
Windows (or NET 2.0). (Maybe it's a bug in Mono)
> 
> 3) Relative to MSBuild, how complete is XBuild?  What functionality
> does it have currently?
> 

It has troubles with parsing more complicated files. Beside that it
doesn't have a lot of tasks from MSBuild. Another problem is change of
API 1-2 months ago. After dealing with those problems we can talk about
quite stable software. Before that it isn't usable to build VS2005
project files.

> 4) Will XBuild work on VS2005 .csproj files?  I tried building a
> default skeleton VS2005 WinForms project with XBuild, but it throws an
> InvalidCastException.

Answered above.

-- 
Marek Sieradzki <marek.sieradzki at gmail.com>



More information about the Mono-list mailing list