Re: [Mono-list] C# builder with Mono

2016-04-27 Thread David Curylo
This isn’t something the C# language supports. https://msdn.microsoft.com/en-us/library/0feaad6z.aspx The C# #define does not allow a symbol to be given a value, as in languages such as C++. For example, #define cannot be used to create

Re: [Mono-list] libmono-2-0.a in libmono-dev CentOS package?

2016-02-19 Thread David Curylo
I’m not sure if this is an option for you, but if you control the host for your containers, then supplying mono to your container via data volume works for me to keep the images small: https://docs.docker.com/v1.8/userguide/dockervolumes/#adding-a-data-volume

Re: [Mono-list] Problem with mono and HtttpWebRequest (ssl)

2015-06-16 Thread David Curylo
On Jun 16, 2015, at 9:42 AM, MkProc wrote: > The Server is running nginx/1.6.2. > > According to certmgr, the comodo cert is in the Trust store. > If you’re on linux and run `curl https://your-server`, do you get any errors about missing intermediate certificates? If so, mono won’t be happy

[Mono-list] Using PCL's causes parser errors in Xamarin Studio

2015-05-26 Thread David Curylo
If I start a new project in Xamarin Studio, change the project compiler to Mono/.NET 4.5, add a package reference to Microsoft.TPL.Dataflow (a PCL), and then try to use anything from that reference, I get parser errors like the following: “Parser Error: The type ‘Object’ is required here and is

Re: [Mono-list] just installed mono, most basic test failed.

2015-05-13 Thread David Curylo
It’s not like Java where you can blindly expect your code to run across platforms. More like Python or Erlang or numerous other languages and runtimes where most of the code will work across platforms, but some libraries are platform-specific. WCF’s TCP binding isn’t going to work in it’s curr

Re: [Mono-list] just installed mono, most basic test failed.

2015-05-11 Thread David Burnett
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 publi

Re: [Mono-list] Mono in the mainstream

2015-03-23 Thread David Curylo
On Mar 23, 2015, at 3:14 PM, Jonathan Shore wrote: > It should be mentioned that popular Linux distributions (such as ubuntu) have > very dated versions of mono available as packages (often default to 2.x) They are kind of old, but not unusable 2.x versions anymore. Ubuntu 14.04 LTS, for exam

Re: [Mono-list] Mono in the mainstream

2015-03-23 Thread David Curylo
It's in a much better state than a few years ago, and even in the last 6 months with the CI and all the official packaging, I think it's easier than ever to get mono running. That said, I think it's really difficult to get service providers to include and advertise their servers with mono suppo

[Mono-list] howto download Mono 3.10.0 OSX installer?

2015-03-07 Thread David Jeske
I don't see any links to any of the old installers on the website. How do I get an old 3.10.0 mono installer for OSX? All my OpenTK software stopped working around the time Xamarin force updated me to Mono 3.12.0. I'm suspecting a correlation, so I'd like to backrev mono to test it, but I'd prefer

Re: [Mono-list] Sandbox

2015-01-11 Thread David Curylo
The first thing that comes to mind for this sort of thing on Posix environments is using chroot to isolate the process and then communicate with it via some dedicated IPC channel, although I’m not so sure about how to set chroot up from managed code. On Jan 11, 2015, at 7:54 AM, Ollhax wrote:

[Mono-list] Mono compatible code coverage tools

2014-10-27 Thread David Curylo
Does anyone have any recommendations for code test coverage or analysis tools that are mono-compatible? I’ve read this: http://www.mono-project.com/docs/debug+profile/profile/code-coverage/ but I’m looking for something that will provide a little more comprehensive that can run with my CI pr

Re: [Mono-list] Coding advice before I raise a bug

2014-06-13 Thread David Burnett
On 13/06/2014 12:22, Edward Ned Harvey (mono) wrote: From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of David Burnett Macintosh:Release vargol$ mono --version Mono JIT compiler version 3.2.7 ((no/40f92d5 Thu Feb 6 18:29:16 EST 2014) A little

Re: [Mono-list] Coding advice before I raise a bug

2014-06-12 Thread David Burnett
On 12/06/2014 16:12, Edward Ned Harvey (mono) wrote: From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of David Burnett I may have found a compiler bug, but as I'm fairly new to c# I thought I'd First things first, how can we recreate t

Re: [Mono-list] Xamarin Open Source License

2014-06-12 Thread David Curylo
This is a mailing list for the mono community and isn’t the right place to ask questions pertaining to Xamarin’s business and licensing. Probably you should contact them via one of the methods here: http://xamarin.com/faq. On Jun 12, 2014, at 7:40 AM, lytico wrote: > seems that xamarin ignor

[Mono-list] Coding advice before I raise a bug

2014-06-11 Thread David Burnett
Hi I may have found a compiler bug, but as I'm fairly new to c# I thought I'd run it past more experienced developers before creating a test case and raising it formally to see if I was missing some nuisance of c#. The code looks like something like this, its actually the top of a larger functio

Re: [Mono-list] recommended http server

2014-05-20 Thread David Curylo
You can use the HttpListener (http://msdn.microsoft.com/en-us/library/vstudio/system.net.httplistener) directly since you really aren’t trying to run any sort of web server. If you need a nice REST HTTP application server, ServiceStack is very nice, but I think you just want a low level integr

Re: [Mono-list] arraylist.sort unstable ?

2014-05-13 Thread David Schmitt
his is very much dependent on the used Sorting Algorithm. An algorithm that does not change the relative order of input items that compare equally (but are not identical) is called "stable". Sort() is obviously not stable. See https://en.wikipedia.org/wiki/Sorting_algorithm#Stability

Re: [Mono-list] MONO_CONFIG not working

2014-05-08 Thread David Curylo
The only way I could get this to work was to either create a copy of the .exe file to match the other config or to create a hard link where the name of the link matches the other config, link. For example, if MyExe.exe has MyExe.exe.config then for my alternate config, named MyExeAlt.exe.config

Re: [Mono-list] Mono builds for Linux

2014-04-04 Thread David Curylo
On Apr 4, 2014, at 4:55 AM, Andrés G. Aragoneses wrote: >> This is indicative of the problem that there aren’t any official >> packages, parallel or otherwise. Why should people have to dig for mono >> packages? > > Because if their distro doesn't provide up-to-date versions of mono, > there's

Re: [Mono-list] Mono builds for Linux

2014-04-03 Thread David Curylo
Andrés, On Apr 3, 2014, at 11:16 AM, Andrés G. Aragoneses wrote: > > Do your packages install somewhere below /opt ? If yes, then I will not > recommend them because it's not a standard prefix. AFAIU /opt is an > ideal prefix for parallel mono installations. These effectively are parallel inst

Re: [Mono-list] Mono builds for Linux

2014-04-03 Thread David Curylo
Most distributions are slow at introducing updates to runtimes such as mono, python or java, and as a result, people have to package these runtimes themselves. If there were official builds and repositories available for the opt-mono packages as you’ve done, I expect most would be very happy to

Re: [Mono-list] Do good practices and performance tips in .NET apply to Mono too?

2014-03-28 Thread David Curylo
Much of that book still applies, as they are good techniques to optimize your code, regardless of the implementation specifics of the runtime. Not 100%, though. Several things that will be different: * Profiling - you should become familiar with the mono framework profiler. Quick guide is h

[Mono-list] Exception in WinForms cleanup - ToolStripMenuItem

2014-03-18 Thread David Lindström
System.Windows.Forms.ToolStrip) at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x0] in :0 at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x0] in :0 at System.ComponentModel.Component.Finalize () [0x0]

Re: [Mono-list] How to get file information on Linux?

2014-03-05 Thread David Schmitt
https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L1764 for example Regards, David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] How to get file information on Linux?

2014-03-03 Thread David Schmitt
Mono.Posix assembly, specifically Mono.Unix.FileAccessPermissions. Regards, David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Advice Needed / Cross-Platform Server Application

2014-01-21 Thread David Schmitt
nly implemented on demand. For example, nuget is totally usable on mono, if you don't feed it solution files. Regards, David On Mon, 20 Jan 2014 20:22:07 -0500, "Greg Deward" wrote: > Could someone please provide some current proven real-world recommendations > for levera

Re: [Mono-list] Why doesn't Mono include full stack trace information into exception?

2013-12-30 Thread David Curylo
You need to tell mono to create the debugging symbols when building. mcs -debug ConsoleApplication2.cs You should see ConsoleApplication2.exe.mdb in the output directory, and now when you run with the --debug option you should see line numbers in the stack trace. Please keep in mind you are te

Re: [Mono-list] Why doesn't Mono include full stack trace information into exception?

2013-12-30 Thread David Curylo
If you pass the —debug option to mono, you should get the full stack trace. http://www.mono-project.com/Debugging On Dec 29, 2013, at 11:16 PM, Andrei Faber wrote: > Why doesn't Mono include full stack trace information into exception? ___ Mono-list

[Mono-list] WebBrowser control, is there any way to get one working?

2013-12-17 Thread David Lindström
, how to build it, how to enable it as browser engine or anything. Has anyone been able to get a browser control working in the last couple of years? Mvh David Lindström___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com

Re: [Mono-list] To access database

2013-12-02 Thread David Curylo
I would really recommend looking at the ServiceStack OrmLite as an ORM solution that runs well under mono. Except for the cases where you need to write DB-specific SQL (and these will likely come up so just learn to isolate them), you will not need to deal with database specifics in your code:

Re: [Mono-list] Mono builds that works in major linux distros

2013-12-02 Thread David Curylo
In any case, thank you very much for posting these, as they save me from needing to build mono and monodevelop from source to run on Ubuntu and CentOS. On Dec 2, 2013, at 4:13 PM, Timotheus Pokorra wrote: > Hello, >> This link was posted here in recent weeks by the package maintainer for mono

Re: [Mono-list] FileVersionInfo on an assebly file returns the AssemblyVersioin

2013-11-09 Thread David Schmitt
yways the MS Runtime behavior trumps that anyways. If you can't fix it immediately in the code (and send a pull request on github), please file a bugreport on https://bugzilla.xamarin.com/ Regards, David ___ Mono-list maillist - Mono-list@li

[Mono-list] MONO_CONFIG not working

2013-10-27 Thread David Curylo
I'm trying to load an application with an alternative config file under mono 3.2.3. It appears from the mono-config man page that you can use the MONO_CONFIG environment variable to specify the path to a config file, but it still doesn't seem to work. Here is how I'm trying to specify my own c

[Mono-list] sgen error when using large SOAP proxy

2013-09-26 Thread David Curylo
I have an application that must load a very large SOAP proxy with hundreds of classes. Under boehm GC, I'm able to load the application, but when running under sgen my application crashes immediately with a SIGABRT. I'm able to get a stack trace under sgen to this effect: * Assertion: should

Re: [Mono-list] xbuild generating invalid /debug:none flag and error..

2013-08-16 Thread David Jeske
On Thu, Aug 15, 2013 at 9:42 AM, David Lechner wrote: > Could it have to do with the fact that you are targeting .NET 2.0 (using > gmcs). It seems to work correctly with my project targeting .NET 4.0 (using > dmcs). I get the correct /debug- flag when I have > none in my .csproj fi

Re: [Mono-list] xbuild generating invalid /debug:none flag and error..

2013-08-16 Thread David Lechner
On 8/15/2013 3:01 AM, David Jeske wrote: I'm getting an xbuild error because xbuild is generating the invalid compiler flag "/debug:none". However, I don't know where this is being generated. Is this something in my project's build template, xbuild templates, xbuild co

[Mono-list] xbuild generating invalid /debug:none flag and error..

2013-08-15 Thread David Jeske
I'm getting an xbuild error because xbuild is generating the invalid compiler flag "/debug:none". However, I don't know where this is being generated. Is this something in my project's build template, xbuild templates, xbuild code, elsewhere? Target CoreCompile: Tool ...gmcs execution started wit

Re: [Mono-list] [WCF] Are these parts implemented?

2013-08-13 Thread David Curylo
Mono WCF support is very incomplete. Recommend looking at ServiceStack: http://servicestack.net On Aug 6, 2013, at 4:12 AM, alexzhu wrote: > Mono version: 3.3.0 (master/568e0bc) > Service: Self-hosted RESTful service > > I found a few things ain't compatible with .NET, may be not implemented?

Re: [Mono-list] Deploying Mono

2013-08-13 Thread David Curylo
I create an RPM of the runtime the quick and dirty way, with FPM, and then it is installed into a path of my choosing, basically as a private runtime for my application: http://loosexaml.wordpress.com/2013/07/27/creating-a-mono-3-rpm-on-centos/ You could do basically the same to package up an R

Re: [Mono-list] Mono image scaling quality

2013-08-13 Thread David Lechner
On 8/10/2013 6:50 AM, Daniel Lo Nigro wrote: Any ideas? Should I just defer thumbnail creation to something like ImageMagick/GraphicsMagick or are there some other options I can set in Mono to make it produce higher-quality output? From what I read, there is nothing in mono. I ended up using

Re: [Mono-list] Unit tests load a different configuration file under mono

2013-08-12 Thread David Curylo
I've looked quite a bit more into this today. It can be reproduced simply with this (nothing to do with unit tests or shadow copies as you said, just happens when something in System.Web tries to read the configuration): class MainClass { public static void Main

Re: [Mono-list] Unit tests load a different configuration file under mono

2013-08-12 Thread David Curylo
This is the exact same problem, yes. So from your last comment on the pull request: > when running inside a unit test, Mono.Web.Util.SettingsMappingManager.Init() > doesn't manage to make the _instance not null, because mapper.HasMappings > ends up being false (and this doesn't happen when run

[Mono-list] Unit tests load a different configuration file under mono

2013-08-09 Thread David Curylo
I ran into an issue several months back where my code could not find ConnectionStrings while running my code in NUnit under mono, however, I was having trouble making a simple reproducible test case. Now I have one, and I suspect that it is not an NUnit issue, as the same thing happens under xU

Re: [Mono-list] problem running winows executabe on ubuntu 12.04 with mono 2.10.8.1

2013-06-14 Thread David Lechner
On 6/9/2013 7:46 PM, meab_mike wrote: Hi I'm trying to run a windows executable on ubuntu 12/04 with mono 2.10.8.1 and am getting an exception. Try installing mono-complete: sudo apt-get install mono-complete ___ Mono-list maillist - Mono-list@l

Re: [Mono-list] Installing Mono on CentOS 5.x (x86_64)

2013-05-10 Thread David Schmitt
e slogging through I figured getting some advice from the community would be smart. It's hard to help you without more information about what challenges you encountered. Regards, David ___ Mono-list maillist - Mono-list@lists.ximian.com http://l

Re: [Mono-list] opinion

2013-05-09 Thread David Jagoe
mono/.net. Cheers, David On 9 May 2013 11:30, Diego Tostes wrote: > hi, > > my name is diego, i am from brasil and i am working in a project for the > brazilian gorverment. > > at this moment we are having to decide wich webframework we will use and > we are having to think

Re: [Mono-list] Optimising some large loops using LINQ question

2013-04-24 Thread David Schmitt
screw up your call flow. Regards, David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Determine what's using CPU

2013-04-09 Thread David Evans
Curylo Sent: Tuesday, April 09, 2013 3:39 PM To: David Evans Cc: mono-list@lists.ximian.com Subject: Re: [Mono-list] Determine what's using CPU Yes, I meant that top -H was showing me several ~20 threads for my process (I could spot them right away since it's the only process running m

Re: [Mono-list] Determine what's using CPU

2013-04-09 Thread David Evans
show you threads within that process. There are some other options to customize top output if you dig into the docs but probably that's all you need. From: Dave Curylo [mailto:dacur...@gmail.com] On Behalf Of Dave Curylo Sent: Tuesday, April 09, 2013 10:55 AM To: Rodrigo Kumpera Cc: David E

Re: [Mono-list] Determine what's using CPU

2013-04-09 Thread David Evans
I usually use "top -H" to get the thread id of the thread that is hogging the CPU. Then I use "top" to get the process id, then connect to that process using gdb and use "info threads" to find the thread number for the thread id that was hogging the CPU. Then I switch to that thread and back tra

Re: [Mono-list] How to use windows service application in linux (suse) using mono ?

2013-03-21 Thread David Schmitt
r: http://stackoverflow.com/a/1234761/4918 Best Regards, David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] crash in... mcs/class/corlib/System.Resources/ResourceManager.cs:123

2012-11-14 Thread David Jeske
I'm seeing this exception sporadically when using a threaded http server that opens a bunch of MySQL connections. I'm not sharing the MySqlConnection object between threads, but it looks to me like they share some singleton resourcemanager and perfcounters. What is the right way to fix this? Do I

[Mono-list] (no subject)

2012-06-27 Thread David Henderson
http://www.neilshigley.com/wp-content/themes/twentyeleven/rgpas.html___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] FileSystemWatcher implementation

2012-04-10 Thread David Lambert
I also just figured that apparently the FileSystemWatcher doesn't raise events of subdirectories. I haven't found any documentation on this, have you? Does anyone know if this is something that would/could be resolved? To go around this have you just created as many watchers as necessa

[Mono-list] SAP B1 solution project import woes

2012-03-05 Thread David Brown
specific successes targeting SAP B1 solution files? Regards and please advise, David. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Hang on Environment.Exit if there is any socket_io

2012-02-03 Thread David Evans
nzalo Paniagua Javier Sent: Friday, February 03, 2012 12:51 PM To: mono-list@lists.ximian.com Subject: Re: [Mono-list] Hang on Environment.Exit if there is any socket_io On Fri, Feb 3, 2012 at 3:40 PM, David Evans wrote: [...] > Anyone seen this before and have an easier workaround? Bug already

Re: [Mono-list] Hang on Environment.Exit if there is any socket_io

2012-02-03 Thread David Evans
all.c:6443 #6 0x4027ceca in ?? () #7 0x009f2350 in ?? () #8 0x in ?? () From: Gregory Junker [mailto:gjun...@dayark.com] Sent: Friday, February 03, 2012 12:49 PM To: David Evans; mono-list@lists.ximian.com Subject: RE: [Mono-list] Hang on Environment.Exit if there i

[Mono-list] Hang on Environment.Exit if there is any socket_io

2012-02-03 Thread David Evans
I searched bugzilla on xamarin and didn't see anything, if no one responds as a known issue I'll file a bug. Thanks much, David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] mono 2.10 and libgc question

2011-11-21 Thread David Evans
o play with? Note: we tried sgen briefly and encountered crashes. We couldn't find separable test cases for those crashes to file bugs; we just have stayed with the parallel mark Boehm collector for now. Thanks much, David ___ Mono-list

[Mono-list] I am new.

2011-10-24 Thread David Arroyo
Hi community, I am a new programmer in mono and I would like to know a good ide to program and I also say Hello! Thanks, Regards. D. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] HttpWebRequest.GetResponse() can trigger an uncatchable exception

2011-07-10 Thread Christopher David Howie
On Sat, 9 Jul 2011 11:50:34 -0400, Gonzalo Paniagua Javier wrote: > Not much I can do without a test case. I know. :( The worst bug is the one that only happens once in a blue moon. > I'd say that this is a problem reusing a connection and somehow 2 > threads "own" the same stream. Set Keep

Re: [Mono-list] HttpWebRequest.GetResponse() can trigger an uncatchable exception

2011-07-08 Thread Christopher David Howie
On 07/08/2011 10:43 AM, Gonzalo Paniagua Javier wrote: > Do you have a small test case that reproduces the problem? No, unfortunately. This happens in maybe one out of a few thousand requests. The only test case I can really come up with is "make lots of web requests on different threads until a

[Mono-list] HttpWebRequest.GetResponse() can trigger an uncatchable exception

2011-07-08 Thread Christopher David Howie
Hello Gonzalo/List: For reference, see this SO post: . This bug has existed since at least 2.8 and continues to exist in 2.20.2. It's a blocker for me, so I've been investing a bit of time digging into the class

Re: [Mono-list] ubuntu support

2011-05-17 Thread David Harper
t their jobs are doing okay, it's not a good time to be looking for work... Thanks a million again to you, meebey, directhex and everybody else's efforts to make Mono available. -Original Message- From: Stephen Shaw Sent: Wednesday, May 18, 2011 1:06 AM To: David Harper Cc:

Re: [Mono-list] ubuntu support

2011-05-17 Thread David Harper
Hi Stephen, I apologize, I lacked clarity in my previous post. The Ubuntu issue mentioned by Daniel is a real problem, we're always versions behind and it's frustrating. In light of the recent changes, it is worth considering if an opportunity existed to address some of these issues. It would

Re: [Mono-list] ubuntu support

2011-05-17 Thread David Harper
Actually, I agree with Daniel, I think he is being both reasonable and forward thinking. There is an opportunity now to broaden Mono’s usage via Ubuntu. If Java can be deployed seamlessly across platforms why can’t Mono? On Ubuntu 10.10 we can install parallel versions of Mono, but we can’t ex

[Mono-list] unsubscribe

2011-04-20 Thread Kolb, David
David Kolb Software Systems Engineer III Emdeon 84 Peachtree Road Suite 300 Asheville, NC 28803 Direct: 800-879-6153 ext 4181 Fax: 828-250-9553 dk...@emdeon.com http://www.emdeon.com/pharmacyservices This message is confidential, intended only for the named

Re: [Mono-list] how to search mono-list archive?

2011-03-12 Thread David Christensen
On 03/12/2011 07:08 PM, Abe Gillespie wrote: > I don't know what that means, http://en.wikipedia.org/wiki/Posting_style David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] how to search mono-list archive?

2011-03-12 Thread David Christensen
On 03/12/2011 06:06 PM, Abe Gillespie wrote: > http://go-mono.com/forums/ Thank you. :-) Is it customary to top-post on this list? David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] how to search mono-list archive?

2011-03-12 Thread David Christensen
mono-list: How do I search the mono-list archive? http://lists.ximian.com/pipermail/mono-list/ TIA, David ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] System.Runtime.Serialization missing

2011-02-26 Thread David Auzinger
On the local machine it runs just fine with net35, on the server i used the same version, but - as i said - i'm looking into it and will report back here. Regards David Auzinger 2011/2/26 Abe Gillespie > JSON.Net is packaged with three versions not counting SL: net, net20, > net35

Re: [Mono-list] System.Runtime.Serialization missing

2011-02-26 Thread David Auzinger
l look into it again. Regards David Auzinger 2011/2/26 Abe Gillespie > You've found a work-around, but for the health of the Mono project in > general this should be tracked down. Also, Newtonsoft's JSON > serializer is so incredibly well baked that I hope I can urge you ba

Re: [Mono-list] System.Runtime.Serialization missing

2011-02-26 Thread David Auzinger
Ok I solved my Problem by switching to a different JSON serializer Regards David Auzinger 2011/2/26 David Auzinger > Some Additional Information: > > When i upload the System.Runtime.Serialization.dll i get the same error > again but with System.Data, when i upload the System.

Re: [Mono-list] System.Runtime.Serialization missing

2011-02-26 Thread David Auzinger
match. Regards David Auzinger 2011/2/26 David Auzinger > Hi > > (I hope I'm right here. I would have posted this in the mini forums but I > can't access them) > > I'm developing on a windows machine with Visual Studio Express 2010 (i > started with monodevelop, b

[Mono-list] System.Runtime.Serialization missing

2011-02-26 Thread David Auzinger
would appreciate any help! Regards David Auzinger ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] multilingual

2011-01-28 Thread David Tristram
Hello I have a program written C# under VS2005. I have to put on this program under Linux. I think that mono can help me to realize it. If I understood well : - I can integrate MONO into VS2005 not to change environment of development - Mono will generate me of the native code Linux. On the

Re: [Mono-list] System.Net.NetworkInformation: network availability

2011-01-26 Thread Christopher David Howie
On 01/10/2011 03:34 AM, Mattia Vitturi wrote: > This application needs to recognize if it is working online or offline so on > my Windows side I added this lines of code: > > var netState = NetworkInterface.GetIsNetworkAvailable(); Are you sure that "GetIsNetworkAvailable()" is answering the righ

Re: [Mono-list] Large memory applications

2011-01-20 Thread David Henderson
There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. Software/mono-2.8.2> /opt/bin/gmcs --version Mono C# compiler version 2.8.2.0 Software/mono-2.8.2> uname -a Linux belltown 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100

Re: [Mono-list] Large memory applications

2011-01-20 Thread David Henderson
I'm running 2.8.2. Sent from Yahoo! Mail on Android ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Large memory applications

2011-01-20 Thread David Henderson
No, it is most definitely a 64bit OS. Sent from Yahoo! Mail on Android ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] Large memory applications

2011-01-19 Thread David Henderson
I've got a large heap size install (why this isn't the default on OpenSuSE rpms, I don't know) of mono and an application that is processing 6GB files. I'm running this on a machine with 256GB RAM, so there's plenty of room for all of that data. Even with sloppy coding... :) My problem is th

Re: [Mono-list] Operator overloading

2011-01-07 Thread David Henderson
Ah, Got it! Thanks!! Would have been nice if I could have found some documentation leading me to that solution. Is there a good site or text I should be using? The ones I have evidently stink... - Original Message From: Jonathan Pryor To: David Henderson Cc: Mono List Sent

[Mono-list] Operator overloading

2011-01-07 Thread David Henderson
OK. I have been trying to no avail to overload the > and < operators on a struct I wrote. This is extremely easy in C++, but seems to not work in C#. Here is my overload code: public static bool operator > ( lodData x , lodData y ) { return x.getLOD() > y.getLOD(); } publ

Re: [Mono-list] Minimum element of a list

2011-01-07 Thread David Henderson
ave H - Original Message From: Jonathan Pryor To: David Henderson Cc: mono-list@lists.ximian.com Sent: Fri, January 7, 2011 2:01:08 PM Subject: Re: [Mono-list] Minimum element of a list On Jan 7, 2011, at 4:40 PM, David Henderson wrote: > I have a list and I would like to find the minimum

[Mono-list] Minimum element of a list

2011-01-07 Thread David Henderson
I have a list and I would like to find the minimum element in the array from the current iterator in a foreach loop to the end, not the minimum element overall. Something like the following using an STL vector in C++ (I do not expect the following code to compile, but rather describe the proc

[Mono-list] Not writing all of the data to file

2011-01-05 Thread david jobes
I have the following routine, Match result = regex.Match(rule); Match mat = payload.Match(rule); // Console.WriteLine( result.Groups["alert"].Value + "," + result.Groups["proto"].Value + "," + result.Groups["sip"].Value + "," + result.Groups["sport"].Value + "," + result.Groups["d

Re: [Mono-list] using 'unsafe struct *' instead of IntPtr with PInvoke..

2010-12-25 Thread David Jeske
On Thu, Dec 23, 2010 at 9:45 AM, Jonathan Pryor wrote: > In theory, this is safe (safer, really, as you get more type checking). > Thanks, that's exactly what I was looking for. Put differently, I was looking for confirmation that "unsafe FOO*" is treated as a value type just like IntPtr, so act

[Mono-list] subscribe

2010-12-20 Thread Kolb, David
David Kolb Software Systems Engineer III Emdeon 84 Peachtree Road Suite 300 Asheville, NC 28803 Direct: 800-879-6153 ext 4181 Fax: 828-250-9553 dk...@emdeon.com http://www.emdeon.com/pharmacyservices This message is confidential, intended only for the named

Re: [Mono-list] mono-service2 debugging issues

2010-12-05 Thread David Jagoe
w weeks ago. In answer to your first question, try running mono-service2 with the --debug option. That should print stack traces. Hopefully once you see stack trace you'll be able to figure out why there is a difference when running as a service. In my case the problem appeared to be importing c

Re: [Mono-list] XML-free RPC :-)

2010-11-24 Thread David Jagoe
was > reading MS orientated docs with examples in VS. > > > So, who has some great ideas on the way to go?! Ditch windows and use dbus :) actually I'm only half kidding - I hear that dubs runs on windows now. Dbus is a breeze, light-weight, good number of lang bindings, and well

[Mono-list] IronPython ImportError - only when running as a service

2010-11-21 Thread David Jagoe
th built-in modules. I see the following error: 'No module named time' I have also run this in Windows as a service with the same result, so it seems like a feature rather than a bug. I would be most grateful if anyone can explain the situation or tell me what I'm doing

[Mono-list] FW: Is this a viable platform?

2010-10-14 Thread David Younger
really don't want 2 separate developments if I can avoid it. Cheers ____ David Younger Managing Director The Service Manager (TSM) www.theservicemanager.com <http://www.theservicemanager.com.au/> da...@theservicemanager.com <mailto:laure...@purpose.com

Re: [Mono-list] MonoDroid/MonoTouch for FLOSS/hobby development?

2010-10-05 Thread Christopher David Howie
On 10/05/2010 07:14 AM, Daniel Hughes wrote: > So I guess we just have to sit back and wait to see what happens. Especially considering the patent shitstorm that's been started against Android. :( Oddly enough, my Windows Mobile 6 phone is looking pretty good right about now... I can write manag

[Mono-list] MonoDroid/MonoTouch for FLOSS/hobby development?

2010-10-01 Thread Christopher David Howie
I'm interested in using the MonoDroid/MonoTouch technologies, specifically MonoDroid, for developing F/LOSS software. However, with the current pricing model of MonoTouch ($399/year for one developer) this is incredibly cost-prohibitive. As the Android platform is more open, are there any plans t

Re: [Mono-list] Create a file with execute permission?

2010-09-23 Thread Christopher David Howie
On 09/23/2010 06:36 AM, kevink wrote: > I create a .sh file and try to execute it with Process.Start() in my app. > This is failing as the file is created without the "Execute" permission. Is > there a way to specify this in C# on mono? Since this is a Unix-ism, I doubt there will be an API in the

Re: [Mono-list] Mono programs fail to exit with NVIDIA OpenCL

2010-09-20 Thread Christopher David Howie
On 09/20/2010 12:00 PM, ccoish wrote: > I have a minimal (~100 line) program I could post if that will help. What would help more is to get the program stuck and then then the mono process SIGQUIT. This will dump a stack trace from the program, which you could attach to help us analyze where it's

Re: [Mono-list] Text to Speech using Mono

2010-09-20 Thread Christopher David Howie
On 09/20/2010 10:19 AM, Atsushi Eno wrote: > There is no Windows Speech API on Linux or any other platforms than > windows. The only thing that I can think of for Linux would be the festival program, which you can script. But it won't be a proper API; you will have to use Process.Start() etc. --

Re: [Mono-list] Playing audio files

2010-09-13 Thread Christopher David Howie
On 09/13/2010 11:04 PM, ChrisB wrote: > Hi, I wish to play audio files from my application running under > Mono on openSUSE 11.1. I have looked at the System.Media.SoundPlayer > class but that seems to be very limited in the file formats it > supports. I have also investigated using wrappers for ot

Re: [Mono-list] Program start shows MS-DOS header error message

2010-09-10 Thread Christopher David Howie
On 09/10/2010 09:46 AM, Andrew K. wrote: > Within the loaded dlls a function tries to load an additional dll > (at startup time) which is written in Visual C++ and .NET 3.5. Mono does not support mixed-mode assemblies, aka Managed C++ or C++/CLI, when not compiled with /clr:pure. If you did not c

Re: [Mono-list] Extension method not found

2010-08-31 Thread Christopher David Howie
On 08/31/2010 11:49 PM, Dr_Asik wrote: > I want to correct something I just said. ProjectB did not use any > other extension methods. I tried using another one and got the same > error. So I am unable to use any extension method from ProjectA in > ProjectB (although ProjectA uses them without iss

  1   2   3   4   5   >