[Mono-list] Need help with xbuild.

stan.zhang xinchao.zhang at soyatec.com
Sun Jan 18 20:44:30 EST 2009

I am new for xbuild and mono. Now I have a project in VS2005, and want to
build it in xbuild.

There are some question:
1. What's the project file supported by xbuild? Ara there anything manual of

2. Get a exception from prj2make:

using  System;
public class HelloWord{
    public static void Main(){
        Console.WriteLine("Hello .net");

<Project DefaultTargets="Build"
   <Reference Include="System" />
   <Compile Include="Foo.cs" />
 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 

D:\E4SL>prj2make Foo.csproj
EXCEPTION: System.NullReferenceException: Object reference not set to an
e of an object
  at Mfconsulting.General.Prj2Make.SlnMaker.GetCsprojFileVersion
strInCsprojFile) [0x00000]
  at Mfconsulting.General.Prj2Make.SlnMaker.MsSlnHelper (Boolean isUnixMode,
lean isMcsMode, Boolean isSln, System.String slnFile) [0x00000]

I hope you can help me, and show me a sample for xbuild. 

stan zhang
View this message in context: http://www.nabble.com/Need-help-with-xbuild.-tp21513686p21513686.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list