Re: [Mono-list] just installed mono, most basic test failed.
Hi Edward, Thank you first for your detailed answer. You wrote: So the big questions are - What do you want to accomplish? Are you planning to develop mono sources and contribute to mono? Or do you just want to learn mono and start doing cross-platform stuff like you were doing on .Net with VS? Actually I simply want to make run on a Mac a WCF Service Windows Forms client application I just developed with VS on Windows. The WCF (duplex) service is hosted on iis and the clients normally run on Windows but I have some Mac workstations on which I would need to be able to run the WCF client. I thought this was possible with mono and just wanted to try that. I do not intend to develop nor compile my app on the Mac/mono. I just want to deploy and run the already compiled WCF Winforms client .exe app with its WCF config file to consume the WCF service. Thank you to let me know if there is any chance to succeed and how. Actually, when a tried to run my client on mono I got the same error message than I got when I tried to run the little hello Winforms test app: Unable to find some dynamic linked library of the mono framework. But these files appear to be correctly installed... Thanks again. Pierre-François aka Chip Envoyé de mon iPhone Pierre-Francois. Le 10 mai 2015 à 16:40, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com a écrit : So the big questions are - What do you want to accomplish? Are you planning to develop mono sources and contribute to mono? Or do you just want to learn mono and start doing cross-platform stuff like you were doing on .Net with VS? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
On 09/05/2015 13:00, mono-list-requ...@lists.ximian.com wrote: Thanks for your answer. You probably right for the hellogtk.cs program but what about the Winforms one ? Here is the code of hellowinforms.cs: using System; using System.Windows.Forms; public class HelloWorld : Form { static public void Main () { Application.Run (new HelloWorld ()); } public HelloWorld () { Text = Hello Mono World; } } initializer for System.Drawing.GDIPlus --- System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib Hi, Are you on Snow Leopard (OSX 10.6) by any chance ? I've noticed its gone from the supported OS list but the removal of support is not mentioned in the Release Notes. When I tried to run my application which uses a bitmap on Snow Leopard I got the same error... Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus --- System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong,System.Drawing.GdiplusStartupInput,System.Drawing.GdiplusStartupOutput) at System.Drawing.GDIPlus..cctor () [0x0] in filename unknown:0 --- End of inner exception stack trace --- at System.Drawing.Bitmap..ctor (Int32 width, Int32 height, PixelFormat format) [0x0] in filename unknown:0 I then ran with MONO_LOG_LEVEL=debug and got Mono: DllImport attempting to load: '/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib'. Mono: DllImport error loading library '/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib': 'dlopen(/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib, 9): Symbol not found: __tlv_bootstrap Referenced from: /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libpixman-1.0.dylib Expected in: /usr/lib/libSystem.B.dylib It appears its been compiled to be compatible with 10.7 minimum which is where __tlv_bootstrap appeared, which funny as its still a 32 bit framework but doesn't support any 32 bit version of OSX. If you are not on Snow Leopard then I suggest running it with MONO_LOG_LEVEL=debug and seeing what that throws out. Dave ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono GUI toolkits
Hi, The lack of a true multiplatform toolkit for Mono is like a never.ending story. Gtk is an multi-platform-toolkit, you can use it on all important Desktop systems: Windows, MacOS and Linux. The only problem is that for CLI the transition from GTK2 to GTK3 is rather slow: GTK3 is out for 4 years but GTK#-3 is still beta and Stetic-designer still does suport GTK2 only. Is Eto.Forms of equal stability? Is there an GUI-Designer for Eto.Forms? Elmar ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
Oh, you should give up now. There is no chance of simply taking a complex app already built and developed in VS/Windows, and then straight up launching it under mono on a different platform and expecting it to work. To REALLY get to the bottom line, just do this: You have installed the MDK on a mac. Now copy all your app's exe and dll files (and any other necessary files) to some directory on your mac, and simply launch: mono yourapp.exe If it runs, kudos to you. You either have a trivial app, or you've disproven what I said above. If it doesn't run, then there's no escaping the fact, that additional testing development would be necessary to make it run. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono GUI toolkits
Hi, The lack of a true multiplatform toolkit for Mono is like a never.ending story. GTK isn't usually used anywhere except on Linux. Normally on the mac, you're using Xamarin.Mac, or MonoMac. Normally on windows, you're using WinForms or WPF. Definitely *don't* bother with winforms on non-windows platforms. Nobody has ever had a good experience with that. If you're looking for a cross-platform GUI toolkit, you can look at Eto.Forms and XSP. But I think most people just design business logic separate from GUI code, and build native GUI's on Xam.Mac, GTK#, and Winforms/WPF. Yes, this is the sad scenario for mono: a supposedly cross-platform environment which is not cross-platform at all... unless you use a CLI. The best alternative is Eto.Forms (BTW is Xamarin planning to employ this guy?), which is capable to use one toolkit or another depending on the platform. This is just the automation of code the user interface for each separate OS, which does not make sense to me. I wonder if the future of UI does not lay in just one component which supports HTML and CSS. That way, you would program your whole interface in HTML/CSS, and access the pieces of data from C#. Something like Atom, Brackets, or Visual Studio Code (though these I think are built directly in JavaScript). -- Baltasar ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
Thanks for your encouragements ! ;-) Actually, that's exactly what I intended to do when I installed Mono: 1) test my mono installation with basic apps. 2) test running my complex WCF/Winforms client app to see what the partial WCF implementation means. But since the basic HelloWinForms app did not run I thought something was wrong in my Mono framework installation... That's what I want to understand first. Why did the trivial HelloWinForms.exe not run without raising a lot of dll not found exceptions !? Envoyé de mon iPhone Pierre-Francois. Le 11 mai 2015 à 13:47, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com a écrit : Oh, you should give up now. There is no chance of simply taking a complex app already built and developed in VS/Windows, and then straight up launching it under mono on a different platform and expecting it to work. To REALLY get to the bottom line, just do this: You have installed the MDK on a mac. Now copy all your app's exe and dll files (and any other necessary files) to some directory on your mac, and simply launch: mono yourapp.exe If it runs, kudos to you. You either have a trivial app, or you've disproven what I said above. If it doesn't run, then there's no escaping the fact, that additional testing development would be necessary to make it run. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
From: Pierre-François Culand [mailto:p...@culand.ch] I do not intend to develop nor compile my app on the Mac/mono. I just want to deploy and run the already compiled WCF Winforms client .exe app with its WCF config file to consume the WCF service. Oh, you should give up now. There is no chance of simply taking a complex app already built and developed in VS/Windows, and then straight up launching it under mono on a different platform and expecting it to work. Also if you check the mono compatibility page, it says limited WCF which may or may not affect you. I don't know if limited WCF compatibility affects server-side, client-side, or both. In reality, if you want to develop cross-platform, you can achieve 95% code reuse, and binary compatibility across platforms, but it's not going to happen automatically except for trivial apps or libraries. You have to develop and test with that goal in mind. You need VS on windows, and XS/MD on mac and/or linux. And you need to test on every platform that you care about supporting. There *will* be differences in the OS, as well as differences between .Net and mono, which you'll have to workaround. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
Why not use vs 2015 and vs code, supposed to work on Windows, OSX or Linux, although I don't know what versions of OSX they are supporting. I wonder how long mono is for this world? Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: Pierre-François Culand [mailto:p...@culand.ch] I do not intend to develop nor compile my app on the Mac/mono. I just want to deploy and run the already compiled WCF Winforms client .exe app with its WCF config file to consume the WCF service. Oh, you should give up now. There is no chance of simply taking a complex app already built and developed in VS/Windows, and then straight up launching it under mono on a different platform and expecting it to work. Also if you check the mono compatibility page, it says limited WCF which may or may not affect you. I don't know if limited WCF compatibility affects server-side, client-side, or both. In reality, if you want to develop cross-platform, you can achieve 95% code reuse, and binary compatibility across platforms, but it's not going to happen automatically except for trivial apps or libraries. You have to develop and test with that goal in mind. You need VS on windows, and XS/MD on mac and/or linux. And you need to test on every platform that you care about supporting. There *will* be differences in the OS, as well as differences between .Net and mono, which you'll have to workaround. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
On 20150511 14:30 , cov...@ccs.covici.com wrote: Why not use vs 2015 and vs code, supposed to work on Windows, OSX or Linux, although I don't know what versions of OSX they are supporting. VS2015 is Visual Studio, bunch of code in c++ and still using COM technology, so this will not be ported to anything different from Windows soon. VS team cannot solve 256 length paths and VS is still 64b app (there are some 64b parts talking to 32b VS). VS Code is editor based on Atom (git atom core) and it runs on Ubuntu and Fedora (presonally tested, currently preparing tests on SuSE). If you watch //BUILD talk about ASP.net (Hanselman) you'll notice that there are no plans to make new Visual Studio on Mac and Linux. VS Code is merely editor based on javascript talking to server (omnisharp) to get intellisense and autocompletion + few integrations with system to enable commandline commands and debugging. I wonder how long mono is for this world? Mono is here since 2001 and will stay for some time for sure... thanks regards Mel Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: Pierre-François Culand [mailto:p...@culand.ch] I do not intend to develop nor compile my app on the Mac/mono. I just want to deploy and run the already compiled WCF Winforms client .exe app with its WCF config file to consume the WCF service. Oh, you should give up now. There is no chance of simply taking a complex app already built and developed in VS/Windows, and then straight up launching it under mono on a different platform and expecting it to work. Also if you check the mono compatibility page, it says limited WCF which may or may not affect you. I don't know if limited WCF compatibility affects server-side, client-side, or both. In reality, if you want to develop cross-platform, you can achieve 95% code reuse, and binary compatibility across platforms, but it's not going to happen automatically except for trivial apps or libraries. You have to develop and test with that goal in mind. You need VS on windows, and XS/MD on mac and/or linux. And you need to test on every platform that you care about supporting. There *will* be differences in the OS, as well as differences between .Net and mono, which you'll have to workaround. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono GUI toolkits
From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Elmar Haneke Gtk is an multi-platform-toolkit, you can use it on all important Desktop systems: Windows, MacOS and Linux. The only problem is ... Let me stop you right there. Because to me, the only problem is the fact that GTK is not natively included with either windows, mac, or mobile OSes, and due to LGPL, it's very unclear if you can legally bundle it with your application. GTK is LGPL, not GPL. But you need a lawyer to understand if that's ok for you, because the GPL itself is one long-ass license, and the Lesser part almost doubles its length. It's not an attractive license, like MIT. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com] Why not use vs 2015 and vs code, supposed to work on Windows, OSX or Linux, although I don't know what versions of OSX they are supporting. I wonder how long mono is for this world? Is that just a blatant troll? Even with .Net being open source, you cannot ever expect it to simply compile straight up, on a non-windows platform. Lots of changes are required under the hood to implement things like file and socket operations, which are fundamentally based on different underlying technologies. You should not expect such an effort to ever be done - because it's already been done in mono, and there's no motivation for anyone to repeat all that work in a separate project. So the long and short of it is: You should expect mono to adopt the .Net source code rapidly, and therefore mono is and will continue to be indefinitely, the canonical way of running .Net code on non-windows platforms. It just so happens, VS is better than XS/MD in a lot of ways... But XS/MD is also better than VS in a few ways. Particularly, I don't think you should ever expect VS to build a Xam.Mac project, and in VS, if you want interactive code analysis you have to pay for Resharper. But that capability is built-in to XS/MD. Personally I like to edit code in both XS/MD, and VS, so I can take advantage of the strengths of each. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono GUI toolkits
On Mon, May 11, 2015 at 9:45 AM, Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Elmar Haneke Gtk is an multi-platform-toolkit, you can use it on all important Desktop systems: Windows, MacOS and Linux. The only problem is ... Let me stop you right there. Because to me, the only problem is the fact that GTK is not natively included with either windows, mac, or mobile OSes, and due to LGPL, it's very unclear if you can legally bundle it with your application. GTK is LGPL, not GPL. But you need a lawyer to understand if that's ok for you, because the GPL itself is one long-ass license, and the Lesser part almost doubles its length. It's not an attractive license, like MIT. Those small details have not stopped xamarin to ship Xamarin Studio on Windows and Mac use gtk+. And the open source counter-part, MonoDevelop, runs fine on all 3. The problem of cross platform toolkits is that they either look like ass everywhere or they look great on one target and crazy horrible on others. See Java and Swing for evidence of this. At Xamarin, in order to make Xamarin Studio great, we had to drop parts of gtk+ and replace with the native toolkit. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono GUI toolkits
LGPL is less restrictive than GPL. It allows you to link your software against shared libraries (in this case GTK) and not to publish your source code. When you distribute your software, you may include copy of GTK binary libraries installer and it's source code. Madars On 11/05/15 16:45, Edward Ned Harvey (mono) wrote: From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of Elmar Haneke Gtk is an multi-platform-toolkit, you can use it on all important Desktop systems: Windows, MacOS and Linux. The only problem is ... Let me stop you right there. Because to me, the only problem is the fact that GTK is not natively included with either windows, mac, or mobile OSes, and due to LGPL, it's very unclear if you can legally bundle it with your application. GTK is LGPL, not GPL. But you need a lawyer to understand if that's ok for you, because the GPL itself is one long-ass license, and the Lesser part almost doubles its length. It's not an attractive license, like MIT. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
Hi Edward, all, On 11/05/2015 15:51, Edward Ned Harvey (mono) wrote: From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com] Why not use vs 2015 and vs code, supposed to work on Windows, OSX or Linux, although I don't know what versions of OSX they are supporting. I wonder how long mono is for this world? Is that just a blatant troll? Even with .Net being open source, you cannot ever expect it to simply compile straight up, on a non-windows platform. Lots of changes are required under the hood to implement things like file and socket operations, which are fundamentally based on different underlying technologies. You should not expect such an effort to ever be done - because it's already been done in mono, and there's no motivation for anyone to repeat all that work in a separate project. Putting to one side the criticism of Mono, I was looking at some CoreCLR info the other day and it does look like build on Linux is well on the way? It also looks as though they plan to have ARM support in there at some point? https://github.com/dotnet/coreclr/wiki/Developer-Guide Cheers, Alex ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] just installed mono, most basic test failed.
That is interesting, I suppose if its a console application that you could use vscode and it would compile under Linux -- although I have not gotten it to work at all under Linux, so its in early stages. Edward Ned Harvey (mono) edward.harvey.m...@clevertrove.com wrote: From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com] Why not use vs 2015 and vs code, supposed to work on Windows, OSX or Linux, although I don't know what versions of OSX they are supporting. I wonder how long mono is for this world? Is that just a blatant troll? Even with .Net being open source, you cannot ever expect it to simply compile straight up, on a non-windows platform. Lots of changes are required under the hood to implement things like file and socket operations, which are fundamentally based on different underlying technologies. You should not expect such an effort to ever be done - because it's already been done in mono, and there's no motivation for anyone to repeat all that work in a separate project. So the long and short of it is: You should expect mono to adopt the .Net source code rapidly, and therefore mono is and will continue to be indefinitely, the canonical way of running .Net code on non-windows platforms. It just so happens, VS is better than XS/MD in a lot of ways... But XS/MD is also better than VS in a few ways. Particularly, I don't think you should ever expect VS to build a Xam.Mac project, and in VS, if you want interactive code analysis you have to pay for Resharper. But that capability is built-in to XS/MD. Personally I like to edit code in both XS/MD, and VS, so I can take advantage of the strengths of each. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-dev] ECDSA support
Is mono support ciphers ECDSA ? Mono 4.0.0 release show some handling of same under mono-4.0.0/external/referencesource/System.Core/System/Security/Cryptography. Please let me know how to use the same in build. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list