Re: [Mono-dev] C# 3.0 support for MonoDevelop ?
Hello, This is not the best mailing list to ask. Try [EMAIL PROTECTED] instead. Regards, Marek Will there be a C#3.0 support for MonoDevelop in anytime soon ? -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Media.SoundPlayer silent
I maid some more tries and found out that the current version from SVN is working. I was confused because I got different results when using Mono 1.2.4 installed from Gentoo portage and the one I downloaded and compiled myself. In the first case I did not get any NotImplementedException(from uri) just silence. Alan McGovern skrev: File a bug report on bugzilla about the issue. I'm the one who coded in that support, and as far as i can tell, it should work fine. I need a reproduceable testcase. The actual code is here: http://anonsvn.mono-project.com/viewcvs/trunk/mcs/class/System/System.Media/SoundPlayer.cs?rev=81519view=markup http://anonsvn.mono-project.com/viewcvs/trunk/mcs/class/System/System.Media/SoundPlayer.cs?rev=81519view=markup As you can see, when Play() is called, it enters the LoadFromUri method, which then checks to see if the file exists on your HD and if so, creates a filestream. This shouldn't fail, yet by the looks of it, it is. Alan. On 8/9/07, *Markus Kilås* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I found a solution: SoundPlayer sp = new SoundPlayer(new FileStream(/usr/share/sounds/gaum/send.wav, FileMode.Open, FileAccess.Read, FileShare.Read)); sp.Play(); That one plays the sound but the construnctor taking a string does not. Markus Kilås skrev: Hi, I'm trying to play a wave-file using the System.Media.SoundPlayer class as in http://www.mono-project.com/Guide:_Porting_Winforms_Applications . But it will just not play any sound on Mono 1.2.4 in Gentoo or the VMware image with openSUSE 10.2: SoundPlayer sp = new SoundPlayer (/usr/share/sounds/gaim/send.wav); sp.Play (); Using .NET on WinXP the following code works fine: SoundPlayer sp = new SoundPlayer (c:\\windows\\media\\tada.wav); sp.Play (); Anyone got the SoundPlayer class to work or know what is wrong? -- Markus Kilås +46(0)70 424 94 85 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.markuspage.com http://www.markuspage.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com mailto:Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Markus Kilås +46(0)70 424 94 85 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.markuspage.com http://www.markuspage.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com mailto:Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Markus Kilås +46(0)70 424 94 85 [EMAIL PROTECTED] [EMAIL PROTECTED] www.markuspage.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Remoting with DateTime
Hello Lionel, A few questions: * Will this break with older Mono implementations, say with data that was stored with old versions? It seems like you put some effort on not breaking. * Would you mind providing NUnit test cases that would exercise the various binary formats? You could bundle the stuff as a binary blob in an array and test the various code paths. Miguel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] SPAM-LOW: Re: Unhandled Exceptions in Mono
Hi Miguel, Mono didn't introduce the breaking change in the 2.0 profile. Unhandled exceptions can be taken care of by an UnhandledExceptionHandler without use of the legacyUnhandledExceptionPolicy element. Is this by design? Or is it a compatibility bug? We discussed this a few years ago, but I do not remember what we did about it. Please file a bug report about Done. I provided a test program that shows how it works in each environment. The new behavior makes sense for the average program: if an exception isn't handled, it should be terminated. For programs that need to do something before it terminates, the new behavior is OK as well. It is a problem for a program like NUnit that wants to report an error and then continue to run other tests. It would be a problem for any program that used the UnhandledExceptionHandler to turn off a facility (like an addin) and continue to run in a degraded mode. Anyway, it's documented as a difference. If it's not changed, maybe it should go into a short list of Things we deliberately do differently. Charlie ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] .NET 2.0 WebService XML serialization format
Hello, I have observed that, when writing a WebService using .NET 2.0, if a [WebMethod] returns an object instead of a primitive type, the XmlFormatter is used for serializing it. But, how can I configure the webservice to use the SoapFormatter instead? Regards, Andrés [ knocte ] -- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list