Re: [Mono-dev] Compiling mono on windows for developing (not running)

2014-05-13 Thread Martin Thwaites
Hi Alex, I've been giving your tutorial ago, and I have some things that may be good to add... firstly, I'm building from git, and I checked it out using the visual studio clone. I think this lead to a line endings error, so you need to run the script in a way that uses them properly. I found

[Mono-dev] Developing Mono

2014-05-13 Thread Martin Thwaites
So I've given in, and I'm now looking at using linux (ubuntu 14.04) to try and add some things to mono. I have the same issues with loading the net_4_5.sln file in MD as I do in VS, in that it won't compile. I'm assuming that the solution itself is just broken. The main issue though is I've not

Re: [Mono-dev] Developing Mono

2014-05-13 Thread Robert Jordan
On 14.05.2014 00:55, Martin Thwaites wrote: So I've given in, and I'm now looking at using linux (ubuntu 14.04) to try and add some things to mono. I have the same issues with loading the net_4_5.sln file in MD as I do in VS, in that it won't compile. I'm assuming that the solution itself is

Re: [Mono-dev] Developing Mono

2014-05-13 Thread Miguel de Icaza
Hello Martin, The solution files that we have on the tree have not really been tested. I am currently working on fixing a few fundamental bugs in our build system and once I do that, I should be able to get solution files that work with MonoDevelop or Visual Studio to work. Sadly, I have very

Re: [Mono-dev] Repeat builds of core assemblies

2014-05-13 Thread Miguel de Icaza
Hello Bryan, This is a step in the direction of having everything building with msbuild. Whether I will succeed or not, is yet to be determined :-) Miguel On Mon, May 12, 2014 at 12:07 PM, Bryan Crotaz bryan.cro...@silvercurve.co.uk wrote: Will this make building on windows possible?

[Mono-dev] Mono and ASP.NET vNext

2014-05-13 Thread Miguel de Icaza
Hello guys! Microsoft has open sourced ASP.NET vNext: http://github.com/aspnet/home This is an entire new web stack that only needs the core of Mono (does not even use System.Web.dll!). So these are of course great news, because (a) The core Mono has been in active development, and (b) that

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread cocowalla
I've discovered that mono is using mscorlib from `\lib\mono\4.5`, rather than `\lib\mono\4.0`. Now, `xbuild` is in `\lib\mono\4.5`, but my project targets .NET 4.0. Any ideas as to what is going on here? -- View this message in context:

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread Andrés G. Aragoneses
On 13/05/14 11:28, cocowalla wrote: I've discovered that mono is using mscorlib from `\lib\mono\4.5`, rather than `\lib\mono\4.0`. Now, `xbuild` is in `\lib\mono\4.5`, but my project targets .NET 4.0. Any ideas as to what is going on here? Seems there is a bug in the makefiles. If you ran

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread cocowalla
The build machine isn't running a trimmed down mono - it's a Windows machine that uses the official 3.2.3 binaries, which IIRC doesn't give you the option to leave out 4.5 support. The machine with the trimmed down mono is a Linux box. Is there some kind of workaround for Windows so I can build

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread Robert Jordan
On 13.05.2014 11:28, cocowalla wrote: I've discovered that mono is using mscorlib from `\lib\mono\4.5`, rather than `\lib\mono\4.0`. Now, `xbuild` is in `\lib\mono\4.5`, but my project targets .NET 4.0. Any ideas as to what is going on here? Try to preset a specific runtime version while

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread cocowalla
I should have said I was using `--runtime=v4.0` when trying to run it. I tried the 2 difference versions you suggested, but get this for both: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread Robert Jordan
On 13.05.2014 14:56, cocowalla wrote: I should have said I was using `--runtime=v4.0` when trying to run it. I tried the 2 difference versions you suggested, but get this for both: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral,

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread cocowalla
I get: The following assemblies are installed into the GAC: System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Number of items = 1 For completeness, here is the complete command I am using to trim down the mono build: CC=gcc -m64 ./autogen.sh --prefix=/opt/mono64

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread cocowalla
I should add that System.Core does exist in /opt/mono64/lib/mono/4.0 -- View this message in context: http://mono.1490590.n4.nabble.com/The-assembly-mscorlib-dll-was-not-found-or-could-not-be-loaded-tp4662752p4662770.html Sent from the Mono - General mailing list archive at Nabble.com.

[Mono-list] Changing basic file io?

2014-05-13 Thread Michael McGlothlin
If I wanted to replace the standard libraries for file io with my own is there a way to push my replacement in so that it'd fill that role without needing to rewrite every program, and third-party library, that uses file io? I guess there must be some way since Mono exists at all. I get annoyed

Re: [Mono-list] The assembly mscorlib.dll was not found or could not be loaded

2014-05-13 Thread cocowalla
OK, figured it out. I needed to set MONO_PATH to: /opt/mono64/lib/mono/4.0:/opt/mono64/lib/mono/3.5:/opt/mono64/lib/mono/2.0:. So I needed to tell it where to look for libraries; I had (wrongly) assumed that would be automatic based on the location of the mono executable. -- View this message

[Mono-list] arraylist.sort unstable ?

2014-05-13 Thread andreas graeper
i am learning collections / generics .. and found an example defining a class Cmp that implements IComparer using CaseInsensitiveComparer ArrayList l = new ArrayList(); l.Add(a); l.Add(A); l.Sort(new Cmp()); lprint(l); l.Sort(new CaseInsensitiveComparer()); lprint(l); each time i sort with