That shouldn't be necessary - the build should be using Mono 4.0 Profile 
automatically.

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.

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.

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.

On 03/04/14 15:29, Ken Hall wrote:
I just run what comes with the tarball, would have been nice if someone had
either fixed the nant script or documented that.

Or is there a default somewhere in Mono I can set?  This is the only thing
Mono is used for on this box.



-----Original Message-----
From: opensim-users-boun...@lists.berlios.de
[mailto:opensim-users-boun...@lists.berlios.de] On Behalf Of Oren Hurvitz
Sent: Thursday, April 03, 2014 1:31 AM
To: opensim-users@lists.berlios.de
Subject: Re: [Opensim-users] Opensim compile error under Mono 2.10

The problem is that you're compiling with a target of .NET 2.0, and you need
to change the target to .NET 4.0. See this line in the compiler output:

    Target framework: Mono 2.0 Profile

Here's a command-line option that might make Mono use the correct profile
(but I haven't tried this):

   --with-profile4=yes

(From:
http://mono-project.com/Unsupported_Advanced_Mono_Compile_Options#Controllin
g_the_Profile_to_Build
)



--
View this message in context:
http://opensim-users.2152040.n2.nabble.com/Opensim-compile-error-under-Mono-
2-10-tp7581212p7581228.html
Sent from the opensim-users mailing list archive at Nabble.com.
_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users
.



--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to