<div dir="ltr">I probably should have noted that I used xbuild, and not nant for my successful builds.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 3, 2014 at 6:05 PM, James Stallings II <span dir="ltr"><<a href="mailto:james.stallings@gmail.com" target="_blank">james.stallings@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Xbuild is definitely to be preferred IMHO</div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">
On Thu, Apr 3, 2014 at 5:38 PM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That shouldn't be necessary - the build should be using Mono 4.0 Profile automatically.<br>
<br>
Try checking nant - it could be that your version is too old to recognize the Mono 4.0 Profile framework.  The one I'm currently using on my Ubuntu 13.04 is NAnt 0.92 (Build 0.92.4526.0; rc1; 23/05/2012), which admittedly is a few years old now.<br>


<br>
Another sanity check - have you run ./runprebuild.sh and "nant clean build" recently?  The new profile settings would not be updated until then but I'm guessing you have since OpenSimulator would very probably not have compiled otherwise.  Still, I would recommend downloading the source tree to a fresh directory and trying that if you haven't already.<br>


<br>
Finally, what happens if you use mono's bundled "xbuild" tool to perform the compile instead of nant?  xbuild will use different project files to compile so may pick up the right framework where nant is not, which would narrow things down.<div>

<div><br>
<br>
On 03/04/14 15:29, Ken Hall wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
I just run what comes with the tarball, would have been nice if someone had<br>
either fixed the nant script or documented that.<br>
<br>
Or is there a default somewhere in Mono I can set?  This is the only thing<br>
Mono is used for on this box.<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@lists.<u></u>berlios.de</a><br>
[mailto:<a href="mailto:opensim-users-bounces@lists.berlios.de" target="_blank">opensim-users-bounces@<u></u>lists.berlios.de</a>] On Behalf Of Oren Hurvitz<br>
Sent: Thursday, April 03, 2014 1:31 AM<br>
To: <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a><br>
Subject: Re: [Opensim-users] Opensim compile error under Mono 2.10<br>
<br>
The problem is that you're compiling with a target of .NET 2.0, and you need<br>
to change the target to .NET 4.0. See this line in the compiler output:<br>
<br>
    Target framework: Mono 2.0 Profile<br>
<br>
Here's a command-line option that might make Mono use the correct profile<br>
(but I haven't tried this):<br>
<br>
   --with-profile4=yes<br>
<br>
(From:<br>
<a href="http://mono-project.com/Unsupported_Advanced_Mono_Compile_Options#Controllin" target="_blank">http://mono-project.com/<u></u>Unsupported_Advanced_Mono_<u></u>Compile_Options#Controllin</a><br>
g_the_Profile_to_Build<br>
)<br>
<br>
<br>
<br>
--<br>
View this message in context:<br>
<a href="http://opensim-users.2152040.n2.nabble.com/Opensim-compile-error-under-Mono-" target="_blank">http://opensim-users.2152040.<u></u>n2.nabble.com/Opensim-compile-<u></u>error-under-Mono-</a><br>
2-10-tp7581212p7581228.html<br>
Sent from the opensim-users mailing list archive at Nabble.com.<br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
<br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br></div></div>
.<br>
<br>
</blockquote><div>
<br>
<br>
-- <br>
Justin Clark-Casey (justincc)<br>
OSVW Consulting<br>
<a href="http://justincc.org" target="_blank">http://justincc.org</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a><br></div><div><div>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr">===================================<div><a href="http://osgrid.org/" target="_blank">http://osgrid.org/</a><br>
<a href="http://simhost.com" target="_blank">http://simhost.com</a><br>
<a href="http://twitter.com/jstallings2" target="_blank">http://twitter.com/jstallings2</a><br><br></div></div>
</font></span></div>
<br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br></blockquote></div><br></div>