How to build on MONO?

Questions about integration in Visual Studio, MSBuild or other IDEs or build tools.

How to build on MONO?

Postby mezhaka on Sat Dec 15, 2007 1:15 pm


Are there any tips on how to build the postsharp on MONO?
I tried to use  MonoDevelop to load the PostSharp-All solution, however as I try to build I get
Build failed. ApplicationName='gmcs', CommandLine='"@/tmp/tmpdd8f18a.tmp"', CurrentDirectory='/home/mezhaka/devel/postSharp/PostSharp-1.1.0.273/trunk/Core/PostSharp.Public', PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'

error.
It seems this is rather MonoDevelop problem of interpreting the solution\project files for gmcs.
I'd like to here from anyone who has succeed in running the postsharp on MONO.
Anton Daneika
mezhaka
 
Posts: 3
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Anton Daneika

Re: How to build on MONO?

Postby gfraiteur on Sat Dec 15, 2007 6:18 pm

You have to download a (the) build for the branch 1.1 ([url=http://download.postsharp.org/builds/1.1]http://download.postsharp.org/builds/1.1[/url]), then use "nant" in the adequate directory.

Gael
Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 674
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org

Re: How to build on MONO?

Postby mezhaka on Sat Dec 15, 2007 10:22 pm

Thanks I did tried to build exactly this version, but did not figure out, that I have to use NAnt, cause I don't know how to use it :). I'll try it. Thanks.

Previously Gael Fraiteur wrote:
You have to download a (the) build for the branch 1.1 ([url=http://download.postsharp.org/builds/1.1][url=http://download.postsharp.org/builds/1.1]http://download.postsharp.org/builds/1.1[/url][/url]), then use "nant" in the adequate directory.


Gael


Anton Daneika
mezhaka
 
Posts: 3
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Anton Daneika

Re: How to build on MONO?

Postby gfraiteur on Sat Dec 15, 2007 11:22 pm

To use "nant", type "nant" from the project directories :). Dependencies are built automatically.
Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 674
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org

Re: How to build on MONO?

Postby mezhaka on Mon Dec 17, 2007 12:01 am


Thanks Gael, I got the dlls now. I am trying to follow the TracingAspect example, but it seems the postsharp is not modifying the assemblies. Do I need to add some custom build procedure? Is that documented -- I'd rather read the docs than ask dump questions.
Anton Daneika
mezhaka
 
Posts: 3
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Anton Daneika


Return to Integration with IDE and Build Scripts