1. What's the project file supported by xbuild? Ara there anything manual of
xbuild?
xbuild from svn currently supports both csproj and sln files. Its
still work in progress,
but you could try it. Just run it as -
xbuild foo.csproj
xbuild foo.csproj /t:Clean -- to run specific targets, like Clean
Or you could try MonoDevelop (www.monodevelop.com), it supports msbuild projects
emitted by VS200X.
-Ankit
2. Get a exception from prj2make:
==Foo.cs===
using System;
public class HelloWord{
public static void Main(){
Console.WriteLine(Hello .net);
}
}
==Foo.csproj
Project DefaultTargets=Build
xmlns=http://schemas.microsoft.com/developer/msbuild/2003;
PropertyGroup
OutputTypeLibrary/OutputType
AssemblyNameFoo/AssemblyName
/PropertyGroup
ItemGroup
Reference Include=System /
/ItemGroup
ItemGroup
Compile Include=Foo.cs /
/ItemGroup
Import Project=$(MSBuildBinPath)\Microsoft.CSharp.targets /
/Project
==cmd
D:\E4SLprj2make Foo.csproj
EXCEPTION: System.NullReferenceException: Object reference not set to an
instanc
e of an object
at Mfconsulting.General.Prj2Make.SlnMaker.GetCsprojFileVersion
(System.String
strInCsprojFile) [0x0]
at Mfconsulting.General.Prj2Make.SlnMaker.MsSlnHelper (Boolean isUnixMode,
Boo
lean isMcsMode, Boolean isSln, System.String slnFile) [0x0]
I hope you can help me, and show me a sample for xbuild.
Thanks.
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.
___
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
--
Blog : http://www.ankitjain.org/blog
___
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list