From lindsay at softlog.com.au Sun Jun 1 20:29:29 2008 From: lindsay at softlog.com.au (Lindsay Mathieson) Date: Mon, 02 Jun 2008 10:29:29 +1000 Subject: [Mono-list] Slashdot Mention and SUSE Builder. In-Reply-To: <1212186112.6334.47.camel@frost> References: <483E3B68.3040204@softlog.com.au> <1212186112.6334.47.camel@frost> Message-ID: <48433EE9.5000408@softlog.com.au> Miguel de Icaza wrote: > > Today we rolled out what I think will be a very useful tool for every > Windows.NET developer. > > The SUSE Studio: > > http://studio.suse.com > > This is a tool that allows users to create their own Linux-based > operating systems with the exact amount of software preconfigured and > tested. You can put as little or as much of a Linux OS as you need to > deliver your solution. > Very interesting, we're slowly moving our Enterprise product to .net apps and this is the sort of thing that could pull them over to Linux. There has been some interest amongst management. We already roll out blackbox servers (windows) to our customers, something like this would be tempting for a controlled environment. Thanks Miguel -- Lindsay Softlog Systems From chornsokun at gmail.com Sun Jun 1 21:41:48 2008 From: chornsokun at gmail.com (c.sokun) Date: Sun, 1 Jun 2008 18:41:48 -0700 (PDT) Subject: [Mono-list] tools resgen.exe Message-ID: <17571697.post@talk.nabble.com> I had some sort of problem try to find resgen.exe version of mono. Does anybody know which package do I need to install? (on Ubuntu) Thanks -- View this message in context: http://www.nabble.com/tools-resgen.exe-tp17571697p17571697.html Sent from the Mono - General mailing list archive at Nabble.com. From mmazur at gmail.com Sun Jun 1 21:51:35 2008 From: mmazur at gmail.com (Mike Mazur) Date: Mon, 2 Jun 2008 10:51:35 +0900 Subject: [Mono-list] tools resgen.exe In-Reply-To: <17571697.post@talk.nabble.com> References: <17571697.post@talk.nabble.com> Message-ID: <20080602105135.76d1580c@sumo> Hello, On Sun, 1 Jun 2008 18:41:48 -0700 (PDT) "c.sokun" wrote: > I had some sort of problem try to find resgen.exe version of mono. > Does anybody know which package do I need to install? (on Ubuntu) Could it be this: http://packages.ubuntu.com/search?searchon=contents&keywords=resgen&mode=exactfilename&suite=hardy&arch=any The package is mono-1.0.devel: http://packages.ubuntu.com/hardy/mono-1.0-devel Hope that helps, Mike From atsushi at ximian.com Mon Jun 2 11:03:01 2008 From: atsushi at ximian.com (Atsushi Eno) Date: Tue, 03 Jun 2008 00:03:01 +0900 Subject: [Mono-list] SMO with Mono In-Reply-To: <17579137.post@talk.nabble.com> References: <17353094.post@talk.nabble.com> <483BC5B7.8080109@ximian.com> <17579137.post@talk.nabble.com> Message-ID: <48440BA5.7070807@ximian.com> I didn't understand the question... I didn't say there is any issues. You just cannot use SMO simply because there is no SMO in mono. (Or probably you din't know that SMO support is in Microsoft.SqlServer.Smo.dll.) Atsushi Eno kmt wrote: > Could you please elaborate? What is the issue? > > Thanks! > kmt > > > Atsushi Eno wrote: >> No, it isn't possible (we don't have Microsoft.SqlServer.Smo.dll). >> >> Atsushi Eno >> >> > From mtausig at fsmat.at Mon Jun 2 11:24:14 2008 From: mtausig at fsmat.at (Mathias Tausig) Date: Mon, 2 Jun 2008 17:24:14 +0200 (CEST) Subject: [Mono-list] SingedXml.ComputeSignature: Why is SHA1 enforced In-Reply-To: <1212150777.4564.74.camel@poupou.home> References: <61142.195.64.3.50.1212145090.squirrel@fsmat.at> <1212150777.4564.74.camel@poupou.home> Message-ID: <63318.195.64.3.50.1212420254.squirrel@fsmat.at> > Hello Mathias, > > On Fri, 2008-05-30 at 12:58 +0200, Mathias Tausig wrote: >> Hy! >> >> I was looking through the ComputeSignature() function of the SignedXML >> class: There appear the source lines (abbreviated, just for a RSA case): >> >> signer = new RSAPKCS1SignatureFormatter (key); > > IIRC this class only support SHA1 and MD5. This is because MS version, > in the earlier frameworks, was limited to what CryptoAPI supported. Not > sure if the class was updated (in the newer 3.5 framework which also > supports CNG under Vista) to support more algorithm. If it is please > fill a bug report about it. No, msdn still only speaks of RSA-SHA1. > >> HashAlgorithm hash = GetHash (sd.DigestAlgorithm); >> byte[] digest = hash.ComputeHash (SignedInfoTransformed ()); >> signer.SetHashAlgorithm ("SHA1"); >> m_signature.SignatureValue = signer.CreateSignature (digest); >> I haven't checked it throughly yet, but I do believe the the hard coded setting of SHA1, while some of the other objects could be set to a different algorithm is probably a bug. cheers Mathias From mtausig at fsmat.at Mon Jun 2 11:28:38 2008 From: mtausig at fsmat.at (Mathias Tausig) Date: Mon, 2 Jun 2008 17:28:38 +0200 (CEST) Subject: [Mono-list] Can SignedCms be usable? Message-ID: <63323.195.64.3.50.1212420518.squirrel@fsmat.at> Hy! I do have yet another question concerning the cryptographic parts of mono. I have started loking into the System.Security.Cryptographic.Pkcs.SignedCms class (and its relatives). I am aware, that they are not really implemented in mono, but am I also right in the assumption, that their design makes them virtually unusable on any non-windows machine, unless you know the details of the private key? cheers Mathias From sebastien.pouliot at gmail.com Mon Jun 2 11:55:34 2008 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Mon, 02 Jun 2008 11:55:34 -0400 Subject: [Mono-list] Can SignedCms be usable? In-Reply-To: <63323.195.64.3.50.1212420518.squirrel@fsmat.at> References: <63323.195.64.3.50.1212420518.squirrel@fsmat.at> Message-ID: <1212422134.2826.46.camel@poupou.home> Hey, On Mon, 2008-06-02 at 17:28 +0200, Mathias Tausig wrote: > Hy! > > I do have yet another question concerning the cryptographic parts of mono. > I have started loking into the > System.Security.Cryptographic.Pkcs.SignedCms class (and its relatives). I > am aware, that they are not really implemented in mono, The whole Pkcs namespace is only partially implemented - and unlikely to be useful for most applications. Sadly I did not got the time to complete it (originally, before mono 1.0) and it never showed very high into MoMA reports (more recently). > but am I also > right in the assumption, that their design makes them virtually unusable > on any non-windows machine, No. Fx 2.0 makes it possible to load a PKCS#12 file, that includes a certificate and a private key, and the use it with the new APIs. So it's not a framework-design problem anymore (like before fx 2.0) but it's still an application-design problem (in most cases). > unless you know the details of the private > key? No sure if I understand your meaning. Windows tends to "hide" the private keys (in it's stores) from the users. However there's nothing you can do, with them, unless you know their "details" (i.e. at least how to access or use, not necessarily read, it). Sebastien From mtausig at fsmat.at Tue Jun 3 04:34:33 2008 From: mtausig at fsmat.at (Mathias Tausig) Date: Tue, 3 Jun 2008 10:34:33 +0200 (CEST) Subject: [Mono-list] Can SignedCms be usable? In-Reply-To: <1212422134.2826.46.camel@poupou.home> References: <63323.195.64.3.50.1212420518.squirrel@fsmat.at> <1212422134.2826.46.camel@poupou.home> Message-ID: <61742.195.64.3.50.1212482073.squirrel@fsmat.at> >> but am I also >> right in the assumption, that their design makes them virtually unusable >> on any non-windows machine, > > No. Fx 2.0 makes it possible to load a PKCS#12 file, that includes a > certificate and a private key, and the use it with the new APIs. > > So it's not a framework-design problem anymore (like before fx 2.0) but > it's still an application-design problem (in most cases). > >> unless you know the details of the private >> key? > > No sure if I understand your meaning. Windows tends to "hide" the > private keys (in it's stores) from the users. However there's nothing > you can do, with them, unless you know their "details" (i.e. at least > how to access or use, not necessarily read, it). > What I mean is, that it obviously only works with software keys but not with hardware tokens (which can be used via an overloaded AsymetricAlgorithm class in SignedXml). cheers Mathias From pocm at soton.ac.uk Tue Jun 3 06:41:43 2008 From: pocm at soton.ac.uk (pamtos) Date: Tue, 3 Jun 2008 03:41:43 -0700 (PDT) Subject: [Mono-list] Beginning Questions Message-ID: <17620663.post@talk.nabble.com> Dear all, I am new to Mono and I am considering it for a new web project. What I would like to know (and I couldn't straightforwardly find an answer to) is: - is it possible to develop commercial web applications in which you can pack a whole web app and send it to a client without disclosing the source? - is there any library of existing components already implemented? - which solutions are provided as development environments for major platforms (Linux, Mac OS X, Windows)? Cheers, Paulo Matos -- View this message in context: http://www.nabble.com/Beginning-Questions-tp17620663p17620663.html Sent from the Mono - General mailing list archive at Nabble.com. From sebastien.pouliot at gmail.com Tue Jun 3 08:15:24 2008 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Tue, 03 Jun 2008 08:15:24 -0400 Subject: [Mono-list] Can SignedCms be usable? In-Reply-To: <61742.195.64.3.50.1212482073.squirrel@fsmat.at> References: <63323.195.64.3.50.1212420518.squirrel@fsmat.at> <1212422134.2826.46.camel@poupou.home> <61742.195.64.3.50.1212482073.squirrel@fsmat.at> Message-ID: <1212495325.2826.69.camel@poupou.home> On Tue, 2008-06-03 at 10:34 +0200, Mathias Tausig wrote: > >> unless you know the details of the private > >> key? > > > > No sure if I understand your meaning. Windows tends to "hide" the > > private keys (in it's stores) from the users. However there's nothing > > you can do, with them, unless you know their "details" (i.e. at least > > how to access or use, not necessarily read, it). > > > > What I mean is, that it obviously only works with software keys but not > with hardware tokens (which can be used via an overloaded > AsymetricAlgorithm class in SignedXml). What is the basis of this "obvious" assertion ? The API is identical so it should[1] work with either software or hardware[2] based crypto. However your job may be a bit more complex if your hardware does not provide the same level of functionality as the API requires. [1] it's a bit more complex under MS implementation since the [RSA| DSA]CryptoServiceProvider are special cases that do not play well with other, more general, classes. A possible solution is to supply a native CSP and use the *CryptoServiceProvider to access it (but that won't work on Mono). [2] some hardware, like smartcards, have limitations that does not fit well with (most) cryptographic API. E.g. some will do the padding themselves and that, in the .NET framework case, will require you to provider your own [Def|F]ormatter classes. Sebastien p.s. you jumped from SignedCms to SignedXml ;-) From pocm at soton.ac.uk Tue Jun 3 09:15:14 2008 From: pocm at soton.ac.uk (pamtos) Date: Tue, 3 Jun 2008 06:15:14 -0700 (PDT) Subject: [Mono-list] Licensing issues Message-ID: <17623267.post@talk.nabble.com> Hello all, I am wondering if in using mono (due to its relation with .NET) I am burning myself to the ground. Is it feasible to develop [web] applications using mono and sell them without source disclosure? If there are things I should be aware when using Mono for commercial development, what are they? Cheers, Paulo Matos -- View this message in context: http://www.nabble.com/Licensing-issues-tp17623267p17623267.html Sent from the Mono - General mailing list archive at Nabble.com. From mtausig at fsmat.at Tue Jun 3 09:27:19 2008 From: mtausig at fsmat.at (Mathias Tausig) Date: Tue, 3 Jun 2008 15:27:19 +0200 (CEST) Subject: [Mono-list] Can SignedCms be usable? In-Reply-To: <1212495325.2826.69.camel@poupou.home> References: <63323.195.64.3.50.1212420518.squirrel@fsmat.at> <1212422134.2826.46.camel@poupou.home> <61742.195.64.3.50.1212482073.squirrel@fsmat.at> <1212495325.2826.69.camel@poupou.home> Message-ID: <61021.195.64.3.50.1212499639.squirrel@fsmat.at> > On Tue, 2008-06-03 at 10:34 +0200, Mathias Tausig wrote: >> >> unless you know the details of the private >> >> key? >> > >> > No sure if I understand your meaning. Windows tends to "hide" the >> > private keys (in it's stores) from the users. However there's nothing >> > you can do, with them, unless you know their "details" (i.e. at least >> > how to access or use, not necessarily read, it). >> > >> >> What I mean is, that it obviously only works with software keys but not >> with hardware tokens (which can be used via an overloaded >> AsymetricAlgorithm class in SignedXml). > > What is the basis of this "obvious" assertion ? The API is identical so > it should[1] work with either software or hardware[2] based crypto. > However your job may be a bit more complex if your hardware does not > provide the same level of functionality as the API requires. I've looked through some code samples and the msdn articles on the Cms classes and that lead me to the assumption the code uses windows specific stuff (windows certificate store, installed CSPs) to get hold of the private key which makes it impossible for me to use it non non-windows systems with a smartcard. > > [1] it's a bit more complex under MS implementation since the [RSA| > DSA]CryptoServiceProvider are special cases that do not play well with > other, more general, classes. A possible solution is to supply a native > CSP and use the *CryptoServiceProvider to access it (but that won't work > on Mono). I guess that writing my own CSP is not really an option, especially since I want a portable program. > [2] some hardware, like smartcards, have limitations that does not fit > well with (most) cryptographic API. E.g. some will do the padding > themselves and that, in the .NET framework case, will require you to > provider your own [Def|F]ormatter classes. > > Sebastien > > p.s. you jumped from SignedCms to SignedXml ;-) > On Purpose. I just wanted to state, that what I want to worked for me for SignedXml (by deriving from RSA, and with your help, of course :-) ) but does not seem to work for PKCS#7 signatures, at least wast of windows ... cheers Mathias From cedricv at neonux.com Tue Jun 3 09:29:53 2008 From: cedricv at neonux.com (Cedric Vivier) Date: Tue, 3 Jun 2008 15:29:53 +0200 Subject: [Mono-list] Job opportunity Message-ID: Hi everyone! I'm seeking two Mono/.NET/C#/(Boo) developers for a full-time contract to join a small team working on an innovative software project. If you know Boo (or Python) the better, but it's not a problem if you don't.. as long as you don't mind learning ;) Looking for someone in Singapore or nearby areas. Please send your resume to cedric at neonux.com Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080603/0e31095b/attachment.html From sebastien.pouliot at gmail.com Tue Jun 3 09:54:51 2008 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Tue, 03 Jun 2008 09:54:51 -0400 Subject: [Mono-list] Can SignedCms be usable? In-Reply-To: <61021.195.64.3.50.1212499639.squirrel@fsmat.at> References: <63323.195.64.3.50.1212420518.squirrel@fsmat.at> <1212422134.2826.46.camel@poupou.home> <61742.195.64.3.50.1212482073.squirrel@fsmat.at> <1212495325.2826.69.camel@poupou.home> <61021.195.64.3.50.1212499639.squirrel@fsmat.at> Message-ID: <1212501291.2826.77.camel@poupou.home> Hello Mathias, On Tue, 2008-06-03 at 15:27 +0200, Mathias Tausig wrote: > > On Tue, 2008-06-03 at 10:34 +0200, Mathias Tausig wrote: > >> >> unless you know the details of the private > >> >> key? > >> > > >> > No sure if I understand your meaning. Windows tends to "hide" the > >> > private keys (in it's stores) from the users. However there's nothing > >> > you can do, with them, unless you know their "details" (i.e. at least > >> > how to access or use, not necessarily read, it). > >> > > >> > >> What I mean is, that it obviously only works with software keys but not > >> with hardware tokens (which can be used via an overloaded > >> AsymetricAlgorithm class in SignedXml). > > > > What is the basis of this "obvious" assertion ? The API is identical so > > it should[1] work with either software or hardware[2] based crypto. > > However your job may be a bit more complex if your hardware does not > > provide the same level of functionality as the API requires. > > I've looked through some code samples and the msdn articles on the Cms > classes and that lead me to the assumption the code uses windows specific > stuff (windows certificate store, installed CSPs) to get hold of the > private key which makes it impossible for me to use it non non-windows > systems with a smartcard. MSDN samples only have to work on Windows so they often jump to the easiest solutions ;-) However it should be possible to make Cms class, once completed, work under Mono / non-Windows OS. note: since a lot of code copy from MSDN samples it's likely they won't work without modification - but that should not influence your own code. > > [1] it's a bit more complex under MS implementation since the [RSA| > > DSA]CryptoServiceProvider are special cases that do not play well with > > other, more general, classes. A possible solution is to supply a native > > CSP and use the *CryptoServiceProvider to access it (but that won't work > > on Mono). > > I guess that writing my own CSP is not really an option, especially since > I want a portable program. I would not advise it. It's quite complex since you have to supply a lot of extra logic (90%) beside what you want to add (10%). > > [2] some hardware, like smartcards, have limitations that does not fit > > well with (most) cryptographic API. E.g. some will do the padding > > themselves and that, in the .NET framework case, will require you to > > provider your own [Def|F]ormatter classes. > > > > Sebastien > > > > p.s. you jumped from SignedCms to SignedXml ;-) > > > On Purpose. I just wanted to state, that what I want to worked for me for > SignedXml (by deriving from RSA, and with your help, of course :-) ) but > does not seem to work for PKCS#7 signatures, at least wast of windows ... AFAIK it should work based on the design - but I could be wrong (it's been known to happen ;-) and I did not try it myself... Sebastien From adam at morrison-ind.com Tue Jun 3 09:55:29 2008 From: adam at morrison-ind.com (Adam Tauno Williams) Date: Tue, 03 Jun 2008 09:55:29 -0400 Subject: [Mono-list] Beginning Questions In-Reply-To: <17620663.post@talk.nabble.com> References: <17620663.post@talk.nabble.com> Message-ID: <1212501329.4955.8.camel@EVTLIS03.morrison.iserv.net> > I am new to Mono and I am considering it for a new web project. > What I would like to know (and I couldn't straightforwardly find an > answer to) is: > - is it possible to develop commercial web applications in which you > can pack a whole web app and send it to a client without disclosing > the source? Yes, Mono is under the Lesser GPL. > - is there any library of existing components already implemented? ? There are many components developed on Mono, and many of the "normal" .NET components will work well. Take a look at Gaia widgets . > - which solutions are provided as development environments for major > platforms (Linux, Mac OS X, Windows)? You can use Visual Studio on Windows, which I think is what most people do. Or you can use Monodevelop on LINUX (GNOME) but the ASP.NET parts are pretty weak (no designer). I don't know anything about OS X. From cdhowie at gmail.com Tue Jun 3 10:18:33 2008 From: cdhowie at gmail.com (Chris Howie) Date: Tue, 3 Jun 2008 10:18:33 -0400 Subject: [Mono-list] Beginning Questions In-Reply-To: <1212501329.4955.8.camel@EVTLIS03.morrison.iserv.net> References: <17620663.post@talk.nabble.com> <1212501329.4955.8.camel@EVTLIS03.morrison.iserv.net> Message-ID: <3d2f29dc0806030718w534b1026g31fd176abed2041@mail.gmail.com> On Tue, Jun 3, 2008 at 9:55 AM, Adam Tauno Williams wrote: > Yes, Mono is under the Lesser GPL. Surely you meant MIT X11? -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From joncham at gmail.com Tue Jun 3 10:21:18 2008 From: joncham at gmail.com (Jonathan Chambers) Date: Tue, 3 Jun 2008 10:21:18 -0400 Subject: [Mono-list] Beginning Questions In-Reply-To: <3d2f29dc0806030718w534b1026g31fd176abed2041@mail.gmail.com> References: <17620663.post@talk.nabble.com> <1212501329.4955.8.camel@EVTLIS03.morrison.iserv.net> <3d2f29dc0806030718w534b1026g31fd176abed2041@mail.gmail.com> Message-ID: <17c2d80b0806030721r7e61d682sfeb7184f4131ff1e@mail.gmail.com> Hello, Mono uses a few licenses for different parts. See here for the best info: http://www.mono-project.com/License Thanks, Jonathan On Tue, Jun 3, 2008 at 10:18 AM, Chris Howie wrote: > On Tue, Jun 3, 2008 at 9:55 AM, Adam Tauno Williams > wrote: > > Yes, Mono is under the Lesser GPL. > > Surely you meant MIT X11? > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080603/899a7c16/attachment.html From cdhowie at gmail.com Tue Jun 3 10:23:24 2008 From: cdhowie at gmail.com (Chris Howie) Date: Tue, 3 Jun 2008 10:23:24 -0400 Subject: [Mono-list] Licensing issues In-Reply-To: <17623267.post@talk.nabble.com> References: <17623267.post@talk.nabble.com> Message-ID: <3d2f29dc0806030723w77ea8fbfvd27b2cd40aa47660@mail.gmail.com> On Tue, Jun 3, 2008 at 9:15 AM, pamtos wrote: > > Hello all, > > I am wondering if in using mono (due to its relation with .NET) I am burning > myself to the ground. Is it feasible to develop [web] applications using > mono and sell them without source disclosure? > > If there are things I should be aware when using Mono for commercial > development, what are they? > > Cheers, > > Paulo Matos The Mono framework libraries are released under the MIT X11 license. You are under no obligation to release any of your sources if you compile with Mono. (Except in the case that you are compiling against other third-party libraries -- check their licenses first.) (By the way, the C# compilers in Mono used to be released under the GPL and are now under MIT X11 as well. This is only trivia though, since even using the GPL compilers you would not have to distribute your source.) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From cdhowie at gmail.com Tue Jun 3 10:24:58 2008 From: cdhowie at gmail.com (Chris Howie) Date: Tue, 3 Jun 2008 10:24:58 -0400 Subject: [Mono-list] Beginning Questions In-Reply-To: <17c2d80b0806030721r7e61d682sfeb7184f4131ff1e@mail.gmail.com> References: <17620663.post@talk.nabble.com> <1212501329.4955.8.camel@EVTLIS03.morrison.iserv.net> <3d2f29dc0806030718w534b1026g31fd176abed2041@mail.gmail.com> <17c2d80b0806030721r7e61d682sfeb7184f4131ff1e@mail.gmail.com> Message-ID: <3d2f29dc0806030724t6e2f2c65i98ccd483bdac04ca@mail.gmail.com> On Tue, Jun 3, 2008 at 10:21 AM, Jonathan Chambers wrote: > Hello, > Mono uses a few licenses for different parts. See here for the best > info: http://www.mono-project.com/License Yep, I was assuming he was referring to the class libraries since those are the only components whose license has any bearing on his question. :) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From avillaci at ceibo.fiec.espol.edu.ec Tue Jun 3 17:32:41 2008 From: avillaci at ceibo.fiec.espol.edu.ec (=?ISO-8859-1?Q?Alex_Villac=ED=ADs_Lasso?=) Date: Tue, 03 Jun 2008 16:32:41 -0500 Subject: [Mono-list] Mono packages for Fedora 9 Message-ID: <4845B879.9090103@ceibo.fiec.espol.edu.ec> Are there any prepared RPM packages for Fedora 9? I know there are fore Fedora 8 at http://download.opensuse.org/repositories/Mono/Fedora_8/ , but so far there appears to be none for Fedora 9. Is it safe to install the Fedora 8 RPMs on Fedora 9? -- perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);' From wangli at t-star.com.cn Tue Jun 3 22:48:40 2008 From: wangli at t-star.com.cn (wangli) Date: Wed, 4 Jun 2008 10:48:40 +0800 Subject: [Mono-list] Error:"Color XXXX is not a valid color". Message-ID: <200806041048403755222@t-star.com.cn> Hello! I have a Error:"Color XXXX is not a valid color". The error occurs if the '.aspx'contains colour-setting statement such as: ForeColor="Blue". The environment: fc8 + mono-1.2.4 + xsp2-1.2.4 +. Net 2.0. I have already even changed the version of mono and xsp2 to 1.2.5??1.26??1.9.1, but the error is still there. Could anyone give some solution for that, I'll appreciate it very much! wangli 2008-06-04 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080604/d4be5569/attachment-0001.html From babbage at lindenlab.com Wed Jun 4 05:56:54 2008 From: babbage at lindenlab.com (Jim Purbrick (Babbage)) Date: Wed, 04 Jun 2008 10:56:54 +0100 Subject: [Mono-list] Building C# with CMake? Message-ID: <484666E6.6020405@lindenlab.com> We've just moved from using scons to CMake to build our (mostly C++) codebase that embeds Mono. Does anyone know whether we can build our embedded C# bits with CMake as well? From sebastien.pouliot at gmail.com Wed Jun 4 09:05:57 2008 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Wed, 04 Jun 2008 09:05:57 -0400 Subject: [Mono-list] Error:"Color XXXX is not a valid color". In-Reply-To: <200806041048403755222@t-star.com.cn> References: <200806041048403755222@t-star.com.cn> Message-ID: <1212584757.2826.86.camel@poupou.home> On Wed, 2008-06-04 at 10:48 +0800, wangli wrote: > Hello! I have a Error:"Color XXXX is not a valid color". The error > occurs if the '.aspx'contains colour-setting statement such as: > ForeColor="Blue". The environment: fc8 + mono-1.2.4 + xsp2-1.2.4 +. > Net 2.0. I have already even changed the version of mono and xsp2 to > 1.2.5?1.26?1.9.1, but the error is still there. Could anyone give > some solution for that, I'll appreciate it very much! The Color type comes from System.Drawing. System.Drawing depends on libgdiplus being installed. So make sure you have libgdiplus installed (and use the same version number as your mono version). Sebastien From aria.francesco at gmail.com Wed Jun 4 09:19:57 2008 From: aria.francesco at gmail.com (Panoramix) Date: Wed, 4 Jun 2008 06:19:57 -0700 (PDT) Subject: [Mono-list] Graph widgets Message-ID: <17646571.post@talk.nabble.com> Hello to all At last I found the component to make 2D lines graph in GTK# but I can not compile it. I downloaded the sources from www.medsphere.org/projects/widgets I unpacked the file but when launching the configure script I receive a message saying that I did not MONO. The problem is that I have Mono and Mono develop installed . I'm using a UBUBTU 8.04 How to solve? Thanks to all. PS Medsphere.Widgets currently includes 4 widgets: CPaned: A helper class for dealing with Gtk.VPaneds with a Gtk.Expander child FBox: A "flowed" container for wrapping widgets GridView: An Excel-like grid Graph: A Cairo-based 2D graph IconLayout: A Cairo-based icon view ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Graph-widgets-tp17646571p17646571.html Sent from the Mono - General mailing list archive at Nabble.com. From cdhowie at gmail.com Wed Jun 4 11:07:35 2008 From: cdhowie at gmail.com (Chris Howie) Date: Wed, 4 Jun 2008 11:07:35 -0400 Subject: [Mono-list] [MonoDevelop] Error on Run - System.DllNotFoundException: hid.dll In-Reply-To: <17546809.post@talk.nabble.com> References: <17479661.post@talk.nabble.com> <1211882151.4944.12.camel@portador.aticatac-centre> <17493458.post@talk.nabble.com> <17546809.post@talk.nabble.com> Message-ID: <3d2f29dc0806040807u1196c227o4b91980590c41908@mail.gmail.com> Walter: I am replying to you and the main mono mailing list since this post is not on-topic on the monodevelop list. The application you are trying to run is using P/Invokes to Windows native DLLs (not managed DLLs). You either need to contact the developer and have them use only managed code or have them develop a Linux-specific version if you want to use their product. This is a limitation arising from the way they have coded their application, not some issue with Mono. On Thu, May 29, 2008 at 5:47 PM, waltersaegir wrote: > > I copied the hid.dll from my XP machine and not I'm getting: > Unhandled Exception: System.TypeInitializationException: An exception was > thrown by the type initializer for System.Windows.Forms.XplatUI ---> > System.DllNotFoundException: ws2_32.dll > > I've copied the ws2_32.dll from the XP machine and there is one in the wine > System32 directory, but it still complains that it can't find one. > > Any guesses/suggestions please? > > > waltersaegir wrote: >> >> This is a .NET application that runs under Windows and it likely uses the >> hid.dll >> >> >> Lluis Sanchez Gual wrote: >>> >>> MonoDevelop does not use that hid.dll, so no idea where are you getting >>> this message from. >>> >> >> > > -- > View this message in context: http://www.nabble.com/Error-on-Run---System.DllNotFoundException%3A-hid.dll-tp17479661p17546809.html > Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com. > > _______________________________________________ > Monodevelop-list mailing list > Monodevelop-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/monodevelop-list > -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From makska at yandex.ru Wed Jun 4 11:06:40 2008 From: makska at yandex.ru (Maxim) Date: Wed, 04 Jun 2008 19:06:40 +0400 Subject: [Mono-list] Error:"Color XXXX is not a valid color". In-Reply-To: <200806041048403755222@t-star.com.cn> References: <200806041048403755222@t-star.com.cn> Message-ID: <4846AF80.7050501@yandex.ru> Hello, it seems like you didn't install libgdi+ library. Best wishes, Max Karavaev wangli wrote: > Hello! I have a Error:"Color XXXX is not a valid color". The error > occurs if the '.aspx'contains colour-setting statement such as: > ForeColor="Blue". The environment: fc8 + mono-1.2.4 + xsp2-1.2.4 +. > Net 2.0. I have already even changed the version of mono and xsp2 to > 1.2.5??1.26??1.9.1, but the error is still there. Could anyone give > some solution for that, I'll appreciate it very much! > ------------------------------------------------------------------------ > wangli > 2008-06-04 > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From miguel at novell.com Wed Jun 4 14:43:40 2008 From: miguel at novell.com (Miguel de Icaza) Date: Wed, 04 Jun 2008 14:43:40 -0400 Subject: [Mono-list] Licensing issues In-Reply-To: <17623267.post@talk.nabble.com> References: <17623267.post@talk.nabble.com> Message-ID: <1212605020.16908.0.camel@frost> > I am wondering if in using mono (due to its relation with .NET) I am burning > myself to the ground. Is it feasible to develop [web] applications using > mono and sell them without source disclosure? Yes, it is fine. Miguel. From cesar.nataren at gmail.com Wed Jun 4 16:30:41 2008 From: cesar.nataren at gmail.com (Cesar Octavio Lopez Nataren) Date: Wed, 04 Jun 2008 13:30:41 -0700 Subject: [Mono-list] Graph widgets In-Reply-To: <17646571.post@talk.nabble.com> References: <17646571.post@talk.nabble.com> Message-ID: <4846FB71.7060804@gmail.com> Can you provide the exact error message that you get during configuration time, please? c?sar Panoramix wrote: > Hello to all > > At last I found the component to make 2D lines graph in GTK# but I can not > compile it. > I downloaded the sources from > www.medsphere.org/projects/widgets > > I unpacked the file but when launching the configure script I receive a > message saying that I did not MONO. > The problem is that I have Mono and Mono develop installed . > I'm using a UBUBTU 8.04 > How to solve? > > Thanks to all. > > PS > Medsphere.Widgets currently includes 4 widgets: > > CPaned: A helper class for dealing with Gtk.VPaneds with a Gtk.Expander > child > FBox: A "flowed" container for wrapping widgets > GridView: An Excel-like grid > Graph: A Cairo-based 2D graph > IconLayout: A Cairo-based icon view > > > ----- > :working: > ----------------------------------------------------------------------------- > http://freeflow.awardspace.com http://freeflow.awardspace.com > ----------------------------------------------------------------------------- > > From surfzoid at gmail.com Wed Jun 4 16:36:16 2008 From: surfzoid at gmail.com (Petit Eric) Date: Wed, 4 Jun 2008 22:36:16 +0200 Subject: [Mono-list] Graph widgets In-Reply-To: <4846FB71.7060804@gmail.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> Message-ID: <84776a970806041336n3bda513aoe9563668b22e649e@mail.gmail.com> Simply report here the output of which mono also mono -V If your are using the generic linux installer to have a last version of mono than the one with your distro and say do not modify your environment path during installation, i gess when yu use mono it is something like : /opt/mono.x.x/bin/mono prog.exe I just compil it today under mdv 2008.1 without any problem. Someone know if there a way to use or have similar assembly of OWC (office web component) from Windows. 2008/6/4 Cesar Octavio Lopez Nataren : > Can you provide the exact error message that you get during > configuration time, please? > > c?sar > > Panoramix wrote: >> Hello to all >> >> At last I found the component to make 2D lines graph in GTK# but I can not >> compile it. >> I downloaded the sources from >> www.medsphere.org/projects/widgets >> >> I unpacked the file but when launching the configure script I receive a >> message saying that I did not MONO. >> The problem is that I have Mono and Mono develop installed . >> I'm using a UBUBTU 8.04 >> How to solve? >> >> Thanks to all. >> >> PS >> Medsphere.Widgets currently includes 4 widgets: >> >> CPaned: A helper class for dealing with Gtk.VPaneds with a Gtk.Expander >> child >> FBox: A "flowed" container for wrapping widgets >> GridView: An Excel-like grid >> Graph: A Cairo-based 2D graph >> IconLayout: A Cairo-based icon view >> >> >> ----- >> :working: >> ----------------------------------------------------------------------------- >> http://freeflow.awardspace.com http://freeflow.awardspace.com >> ----------------------------------------------------------------------------- >> >> > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From wangli at t-star.com.cn Wed Jun 4 22:16:58 2008 From: wangli at t-star.com.cn (wangli) Date: Thu, 5 Jun 2008 10:16:58 +0800 Subject: [Mono-list] Error:"Color XXXX is not a valid color". Message-ID: <200806051016580157438@t-star.com.cn> thank to Sebastien Pouliot and Maxim.I Install libgdiplus library, but libgdiplus.so become to libgdiplus.so.0, libgdiplus.so.0.0.0. I rename them to libgdiplus.so, It's OK.(Sorry, My English not good) wangli 2008-06-05 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080605/e15691e1/attachment.html From aria.francesco at gmail.com Thu Jun 5 02:55:16 2008 From: aria.francesco at gmail.com (Panoramix) Date: Wed, 4 Jun 2008 23:55:16 -0700 (PDT) Subject: [Mono-list] Graph widgets In-Reply-To: <4846FB71.7060804@gmail.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> Message-ID: <17663392.post@talk.nabble.com> Hello cesar . When the script arrives at the end (./configure) : checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for MONO... no checking for csc.exe... no configure: error : You need to install either Mono or .Net The reusult of my # mono --version : Mono JIT compiler version 1.2.6 (tarball) Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC) SIGSEGV: altstack Notifications: epoll Architecture: x86 Disabled: none I'm working on a UBUNTU 8.04 and Mono and Monodevelop 1.0 are installed from official UBUNTU repos . Thanks . Cesar Octavio Lopez Nataren wrote: > > Can you provide the exact error message that you get during > configuration time, please? > > c?sar > > Panoramix wrote: >> Hello to all >> >> At last I found the component to make 2D lines graph in GTK# but I can >> not >> compile it. >> I downloaded the sources from >> www.medsphere.org/projects/widgets >> >> I unpacked the file but when launching the configure script I receive a >> message saying that I did not MONO. >> The problem is that I have Mono and Mono develop installed . >> I'm using a UBUBTU 8.04 >> How to solve? >> >> Thanks to all. >> >> PS >> Medsphere.Widgets currently includes 4 widgets: >> >> CPaned: A helper class for dealing with Gtk.VPaneds with a >> Gtk.Expander >> child >> FBox: A "flowed" container for wrapping widgets >> GridView: An Excel-like grid >> Graph: A Cairo-based 2D graph >> IconLayout: A Cairo-based icon view >> >> >> ----- >> :working: >> ----------------------------------------------------------------------------- >> http://freeflow.awardspace.com http://freeflow.awardspace.com >> ----------------------------------------------------------------------------- >> >> > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Graph-widgets-tp17646571p17663392.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Thu Jun 5 03:02:40 2008 From: surfzoid at gmail.com (Petit Eric) Date: Thu, 5 Jun 2008 09:02:40 +0200 Subject: [Mono-list] Graph widgets In-Reply-To: <17663392.post@talk.nabble.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <17663392.post@talk.nabble.com> Message-ID: <84776a970806050002h2872201bh13b7449b46bed7a2@mail.gmail.com> 2008/6/5 Panoramix : > > Hello cesar . > > When the script arrives at the end (./configure) : > > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for MONO... no > checking for csc.exe... no > configure: error : You need to install either Mono or .Net > > The reusult of my # mono --version : > Mono JIT compiler version 1.2.6 (tarball) > Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com > TLS: __thread > GC: Included Boehm (with typed GC) > SIGSEGV: altstack > Notifications: epoll > Architecture: x86 > Disabled: none > I'm working on a UBUNTU 8.04 and Mono and Monodevelop 1.0 are installed from > official > UBUNTU repos . By the way, if yu are sur to have mono, you have a environment problem (%PATH , pkgconfig ...) Please, provide the output of "which mono" , also your ~/.bashrc and optionaly the one from /etc/ > > Thanks . > > > > Cesar Octavio Lopez Nataren wrote: >> >> Can you provide the exact error message that you get during >> configuration time, please? >> >> c?sar >> >> Panoramix wrote: >>> Hello to all >>> >>> At last I found the component to make 2D lines graph in GTK# but I can >>> not >>> compile it. >>> I downloaded the sources from >>> www.medsphere.org/projects/widgets >>> >>> I unpacked the file but when launching the configure script I receive a >>> message saying that I did not MONO. >>> The problem is that I have Mono and Mono develop installed . >>> I'm using a UBUBTU 8.04 >>> How to solve? >>> >>> Thanks to all. >>> >>> PS >>> Medsphere.Widgets currently includes 4 widgets: >>> >>> CPaned: A helper class for dealing with Gtk.VPaneds with a >>> Gtk.Expander >>> child >>> FBox: A "flowed" container for wrapping widgets >>> GridView: An Excel-like grid >>> Graph: A Cairo-based 2D graph >>> IconLayout: A Cairo-based icon view >>> >>> >>> ----- >>> :working: >>> ----------------------------------------------------------------------------- >>> http://freeflow.awardspace.com http://freeflow.awardspace.com >>> ----------------------------------------------------------------------------- >>> >>> >> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > > > ----- > :working: > ----------------------------------------------------------------------------- > http://freeflow.awardspace.com http://freeflow.awardspace.com > ----------------------------------------------------------------------------- > > -- > View this message in context: http://www.nabble.com/Graph-widgets-tp17646571p17663392.html > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From aria.francesco at gmail.com Thu Jun 5 03:03:43 2008 From: aria.francesco at gmail.com (Panoramix) Date: Thu, 5 Jun 2008 00:03:43 -0700 (PDT) Subject: [Mono-list] Graph widgets In-Reply-To: <84776a970806041336n3bda513aoe9563668b22e649e@mail.gmail.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <84776a970806041336n3bda513aoe9563668b22e649e@mail.gmail.com> Message-ID: <17663505.post@talk.nabble.com> Hello Eric . The reusult of my # mono --version : Mono JIT compiler version 1.2.6 (tarball) Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC) SIGSEGV: altstack Notifications: epoll Architecture: x86 Disabled: none I'm working on a UBUNTU 8.04 and Mono and Monodevelop 1.0 are installed from official UBUNTU repos . When from a shell I launch Mono I need to type only "mono" so I think that the environment variables are correct . If from a shell I type " whereis mono" I receive this : mono: /usr/bin/mono /etc/mono /usr/lib/mono /usr/share/mono /usr/share/man/man1/mono.1.gz Petit Eric wrote: > > Simply report here the output of > which mono > also > mono -V > If your are using the generic linux installer to have a last version > of mono than the one with your distro and say do not modify your > environment path during installation, i gess when yu use mono it is > something like : > /opt/mono.x.x/bin/mono prog.exe > I just compil it today under mdv 2008.1 without any problem. > Someone know if there a way to use or have similar assembly of OWC > (office web component) from Windows. > > 2008/6/4 Cesar Octavio Lopez Nataren : >> Can you provide the exact error message that you get during >> configuration time, please? >> >> c?sar >> >> Panoramix wrote: >>> Hello to all >>> >>> At last I found the component to make 2D lines graph in GTK# but I can >>> not >>> compile it. >>> I downloaded the sources from >>> www.medsphere.org/projects/widgets >>> >>> I unpacked the file but when launching the configure script I receive a >>> message saying that I did not MONO. >>> The problem is that I have Mono and Mono develop installed . >>> I'm using a UBUBTU 8.04 >>> How to solve? >>> >>> Thanks to all. >>> >>> PS >>> Medsphere.Widgets currently includes 4 widgets: >>> >>> CPaned: A helper class for dealing with Gtk.VPaneds with a >>> Gtk.Expander >>> child >>> FBox: A "flowed" container for wrapping widgets >>> GridView: An Excel-like grid >>> Graph: A Cairo-based 2D graph >>> IconLayout: A Cairo-based icon view >>> >>> >>> ----- >>> :working: >>> ----------------------------------------------------------------------------- >>> http://freeflow.awardspace.com http://freeflow.awardspace.com >>> ----------------------------------------------------------------------------- >>> >>> >> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Graph-widgets-tp17646571p17663505.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Thu Jun 5 03:08:29 2008 From: surfzoid at gmail.com (Petit Eric) Date: Thu, 5 Jun 2008 09:08:29 +0200 Subject: [Mono-list] Graph widgets In-Reply-To: <17663505.post@talk.nabble.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <84776a970806041336n3bda513aoe9563668b22e649e@mail.gmail.com> <17663505.post@talk.nabble.com> Message-ID: <84776a970806050008i5388f7bfha1cbd9b938386aaa@mail.gmail.com> 2008/6/5 Panoramix : > > Hello Eric . > > The reusult of my # mono --version : > Mono JIT compiler version 1.2.6 (tarball) > Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com > TLS: __thread > GC: Included Boehm (with typed GC) > SIGSEGV: altstack > Notifications: epoll > Architecture: x86 > Disabled: none > I'm working on a UBUNTU 8.04 and Mono and Monodevelop 1.0 are installed from > official > UBUNTU repos . > > When from a shell I launch Mono I need to type only "mono" so I think that > the > environment variables are correct . > > If from a shell I type " whereis mono" I receive this : > > mono: /usr/bin/mono /etc/mono /usr/lib/mono /usr/share/mono > /usr/share/man/man1/mono.1.gz As you want, but i already sayed, with SVN and tarball version, i have no problem to install it, but perhap's the error message is incorect, and should be "yu need mono >= 1.9" then yu have 1.2.6 (too low). Have a look on gtkgraph to see wath version needed and/or ask question directly to us, because, it is not seem a mono problem, but more a gtkgraph (openvista) problem , No ? > > Petit Eric wrote: >> >> Simply report here the output of >> which mono >> also >> mono -V >> If your are using the generic linux installer to have a last version >> of mono than the one with your distro and say do not modify your >> environment path during installation, i gess when yu use mono it is >> something like : >> /opt/mono.x.x/bin/mono prog.exe >> I just compil it today under mdv 2008.1 without any problem. >> Someone know if there a way to use or have similar assembly of OWC >> (office web component) from Windows. >> >> 2008/6/4 Cesar Octavio Lopez Nataren : >>> Can you provide the exact error message that you get during >>> configuration time, please? >>> >>> c?sar >>> >>> Panoramix wrote: >>>> Hello to all >>>> >>>> At last I found the component to make 2D lines graph in GTK# but I can >>>> not >>>> compile it. >>>> I downloaded the sources from >>>> www.medsphere.org/projects/widgets >>>> >>>> I unpacked the file but when launching the configure script I receive a >>>> message saying that I did not MONO. >>>> The problem is that I have Mono and Mono develop installed . >>>> I'm using a UBUBTU 8.04 >>>> How to solve? >>>> >>>> Thanks to all. >>>> >>>> PS >>>> Medsphere.Widgets currently includes 4 widgets: >>>> >>>> CPaned: A helper class for dealing with Gtk.VPaneds with a >>>> Gtk.Expander >>>> child >>>> FBox: A "flowed" container for wrapping widgets >>>> GridView: An Excel-like grid >>>> Graph: A Cairo-based 2D graph >>>> IconLayout: A Cairo-based icon view >>>> >>>> >>>> ----- >>>> :working: >>>> ----------------------------------------------------------------------------- >>>> http://freeflow.awardspace.com http://freeflow.awardspace.com >>>> ----------------------------------------------------------------------------- >>>> >>>> >>> >>> _______________________________________________ >>> Mono-list maillist - Mono-list at lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > > > ----- > :working: > ----------------------------------------------------------------------------- > http://freeflow.awardspace.com http://freeflow.awardspace.com > ----------------------------------------------------------------------------- > > -- > View this message in context: http://www.nabble.com/Graph-widgets-tp17646571p17663505.html > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From dr_doom1983 at yahoo.de Thu Jun 5 04:34:36 2008 From: dr_doom1983 at yahoo.de (Ferdinand Funke) Date: Thu, 5 Jun 2008 08:34:36 +0000 (GMT) Subject: [Mono-list] ASP.Net AJAX with Mono? Message-ID: <132139.74672.qm@web26605.mail.ukl.yahoo.com> Hello list, I am just trying out the ASP.Net AJAX extensions under .Net and Mono. Therefore I created a rather simple WebApp with just a SciptManager control on the site. Here's the code: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AjaxTest._Default" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> Unbenannte Seite
With .Net it all works fine, but with Mono I get a strange error: Server Error in '/' Application ________________________________ Object reference not set to an instance of an object Description: HTTP 500. Error processing request. Stack Trace: System.NullReferenceException: Object reference not set to an instance of an object at System.Web.UI.ScriptManager.OnPreRenderComplete (System.Object sender, System.EventArgs e) [0x00000] at System.Web.UI.Page.OnPreRenderComplete (System.EventArgs e) [0x00000] at System.Web.UI.Page.ProcessLoadComplete () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] ________________________________ Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42 I placed the System.Web.Extensions.dll from the Mono directory in the the /bin directory of the application, but the error stays the same. The error also appears when I place more AJAX controls on the site than just the ScriptManager. Is there anything I missed? Any help would be greatly appreciated. Best regards, Ferdinand __________________________________________________________ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com From silk at boktor.net Thu Jun 5 04:17:46 2008 From: silk at boktor.net (Grzegorz Sobanski) Date: Thu, 5 Jun 2008 10:17:46 +0200 Subject: [Mono-list] Graph widgets In-Reply-To: <17663392.post@talk.nabble.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <17663392.post@talk.nabble.com> Message-ID: <20080605081746.GA9212@mail.rootnode.pl> * Panoramix [2008-06-05 08:56]: > > Hello cesar . > > When the script arrives at the end (./configure) : > > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for MONO... no > checking for csc.exe... no > configure: error : You need to install either Mono or .Net You probably have only runtime packages installed. Try installing: mono-2.0-devel (and mono-1.0-devel to be sure). Hope this helps silk From herenvardo at gmail.com Mon Jun 2 14:31:06 2008 From: herenvardo at gmail.com (herenvardo) Date: Mon, 2 Jun 2008 11:31:06 -0700 (PDT) Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono Message-ID: <17607386.post@talk.nabble.com> I'll try to be short and concise: a few months ago I started developing a project in Microsoft Visual C# 2008 Express Edition, with the idea of making it Mono-compatible. In order to achieve that goal, I have been checking Mono project's progress on this site frequently, and kept running MoMA checks on all my assemblies at least once a week. Now that some pieces of the project start holding together, I've started some testing: On .NET (3.5 upon Win XP Home SP3), the application runs fine, besides some minor glitches (like "added the wrong icon to that menu" or "forgot to localize the 'Filter' property for this SaveDialog", but no serious errors until now. Running MoMA on these assemblies only mentions a few ToDo's about the TextBoxBase.Undo() method and the auto-complete stuff on combo-boxes: these are useful features, but no critical after all (and chances are high that Mono 2.0 would be out there before I make a first "stable" release). Trying to run the applicantion on Mono (1.9.1, upon the same Win system) with a command like: mono myProgram.exe apparently does nothing. When I found about the -v switch, I got what I'd guess is an exception's traceback, mentioning calls to OutOfMemoryException's, NullReferenceException's and StackOverflowException's constructors: this cannot be good at all. I have tried a few helloworld-like programs, to make sure that mono was working properly, and they ran fine. I have absolutelly no previous experience with Mono, and very limited experience with non-Windows systems (except some DOS tinkering long ago), so I'm completelly lost. I have no idea about how to debug the assembly in mono (ie: try to see what's causing these exceptions), nor even how to compile my project using mono's compiler instead of Microsoft's (maybe the visual compiler is doing something weird). Worst of all (the previous would be actually good otherwise, since it's a chance to learn and a challenge), I've been unable to find any sources about these "basic" topics on the web, such as tutorials, faqs, troubleshooting examples... absolutely nothing after 3 hours of googling. So, could someone please point me to any resource to, at least, get started in the topic? Thanks in advance, both on my part and on that of any "non-Windowed" potential user for my project. Regards, Herenvard? -- View this message in context: http://www.nabble.com/Help-for-porting%3A-VC--2008-express-binaries-crashing-when-run-by-mono-tp17607386p17607386.html Sent from the Mono - General mailing list archive at Nabble.com. From dechon at hotmail.com Tue Jun 3 18:22:48 2008 From: dechon at hotmail.com (hobbitmage) Date: Tue, 3 Jun 2008 15:22:48 -0700 (PDT) Subject: [Mono-list] mono on ubuntu Message-ID: <17635119.post@talk.nabble.com> I have a binary that I'm running thru mono. i.e. /usr/local/bin/mono foo.exe it's running in a startup script. /etc/init.d/mono this script runs fine when run from the command line, but when I use a launcher on ubuntu I can't start it. since I can run it from the command line, it's not a permissions thing. Any thoughts? -- View this message in context: http://www.nabble.com/mono-on-ubuntu-tp17635119p17635119.html Sent from the Mono - General mailing list archive at Nabble.com. From fmpfmpf at yahoo.com Wed Jun 4 03:54:03 2008 From: fmpfmpf at yahoo.com (fmpfmpf) Date: Wed, 4 Jun 2008 00:54:03 -0700 (PDT) Subject: [Mono-list] Newbie needs help Message-ID: <17641139.post@talk.nabble.com> i have a source code of a camera viewer but it works only on Windows. i am told that i can use Mono to recreate the camera viewer in Linux. My question is, how do i start? thank you. -- View this message in context: http://www.nabble.com/Newbie-needs-help-tp17641139p17641139.html Sent from the Mono - General mailing list archive at Nabble.com. From laffoon at gmail.com Wed Jun 4 10:10:20 2008 From: laffoon at gmail.com (xt225geo) Date: Wed, 4 Jun 2008 07:10:20 -0700 (PDT) Subject: [Mono-list] Help! I accidentally deleted "Button" from my Widgets in the Toolbox Message-ID: <17647690.post@talk.nabble.com> I accidentally deleted the "Button" widget from my toolbox in the IDE, and now I can't find it to restore it. Can someone please walk me through this? I know- really a dumb question... but it's really frustrating when trying to learn a new IDE you have to stop everything to correct a seemingly simple mistake. I am running Mono Develop in Ubuntu Hardy Heron. Thanks in advance for any help. -Chris -- View this message in context: http://www.nabble.com/Help%21-I-accidentally-deleted-%22Button%22-from-my-Widgets-in-the-Toolbox-tp17647690p17647690.html Sent from the Mono - General mailing list archive at Nabble.com. From walters at cyberbeam.net Wed Jun 4 11:52:57 2008 From: walters at cyberbeam.net (Walter) Date: Wed, 4 Jun 2008 08:52:57 -0700 Subject: [Mono-list] [MonoDevelop] Error on Run - System.DllNotFoundException: hid.dll References: <17479661.post@talk.nabble.com> <1211882151.4944.12.camel@portador.aticatac-centre> <17493458.post@talk.nabble.com> <17546809.post@talk.nabble.com> <3d2f29dc0806040807u1196c227o4b91980590c41908@mail.gmail.com> Message-ID: <008c01c8c65b$0f8d6f30$1400a8c0@CyberPod> Chris, Thanks for your reply and information. Obviously, I am new to mono and MonoDevelop and I appologize for being off-topic. That was certaintly not my intent. I do have the source code for the application which with I'm having difficulties and until your reply, I could not be clear as to the root of the problem. I actually thought that there could have been some configuration issue with Mono or MonoDevelop. I will look to understand "P/Invokes" and make the necessary modifications to the application code. ----- Original Message ----- From: "Chris Howie" To: "waltersaegir" Cc: Sent: Wednesday, June 04, 2008 8:07 AM Subject: Re: [MonoDevelop] Error on Run - System.DllNotFoundException: hid.dll > Walter: > > I am replying to you and the main mono mailing list since this post is > not on-topic on the monodevelop list. > > The application you are trying to run is using P/Invokes to Windows > native DLLs (not managed DLLs). You either need to contact the > developer and have them use only managed code or have them develop a > Linux-specific version if you want to use their product. This is a > limitation arising from the way they have coded their application, not > some issue with Mono. > > On Thu, May 29, 2008 at 5:47 PM, waltersaegir > wrote: >> >> I copied the hid.dll from my XP machine and not I'm getting: >> Unhandled Exception: System.TypeInitializationException: An exception was >> thrown by the type initializer for System.Windows.Forms.XplatUI ---> >> System.DllNotFoundException: ws2_32.dll >> >> I've copied the ws2_32.dll from the XP machine and there is one in the >> wine >> System32 directory, but it still complains that it can't find one. >> >> Any guesses/suggestions please? >> >> >> waltersaegir wrote: >>> >>> This is a .NET application that runs under Windows and it likely uses >>> the >>> hid.dll >>> >>> >>> Lluis Sanchez Gual wrote: >>>> >>>> MonoDevelop does not use that hid.dll, so no idea where are you getting >>>> this message from. >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Error-on-Run---System.DllNotFoundException%3A-hid.dll-tp17479661p17546809.html >> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com. >> >> _______________________________________________ >> Monodevelop-list mailing list >> Monodevelop-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/monodevelop-list >> > > > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > From sakutz at gmail.com Wed Jun 4 15:31:17 2008 From: sakutz at gmail.com (Schley Andrew Kutz) Date: Wed, 4 Jun 2008 14:31:17 -0500 Subject: [Mono-list] Announcing .NET CLI Message-ID: I thought .NET needed a good command line parsing library so I ported the Apache Commons CLI. .NET CLI is available on SF at http://sf.net/projects/dotnetcli/ . -- -a "condensing fact from the vapor of nuance" From kokolee88 at hotmail.com Wed Jun 4 18:06:19 2008 From: kokolee88 at hotmail.com (Alan_Chun) Date: Wed, 4 Jun 2008 15:06:19 -0700 (PDT) Subject: [Mono-list] Mono installation problem Message-ID: <17657788.post@talk.nabble.com> Hi all. I am having some problems for installing mono 1.9.1 under suse 9. When I install Mono 1.9.1 via YaST, the installation process doesn't return any errors. The wired things is, when I run Console App, it is OK. But once I run WinForms App, the UI is become un-usable. Then I use this command: MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll mono testapp.exe I got following: DllImport attempting to load: 'libc.so.6'. Mono-INFO: DllImport loading location: 'libc.so.6.so'. Mono-INFO: DllImport error loading library: 'libc.so.6.so: cannot open shared object file: No such file or directory'. Mono-INFO: DllImport loading library: './libc.so.6.so'. Mono-INFO: DllImport error loading library './libc.so.6.so: cannot open shared object file: No such file or directory'. Mono-INFO: DllImport loading: 'libc.so.6'. Mono-INFO: Searching for 'uname'............................................. Anyone know how to config mono to point to correct lib path? Thanks -- View this message in context: http://www.nabble.com/Mono-installation-problem-tp17657788p17657788.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Thu Jun 5 05:43:29 2008 From: surfzoid at gmail.com (Petit Eric) Date: Thu, 5 Jun 2008 11:43:29 +0200 Subject: [Mono-list] Graph widgets In-Reply-To: <20080605081746.GA9212@mail.rootnode.pl> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <17663392.post@talk.nabble.com> <20080605081746.GA9212@mail.rootnode.pl> Message-ID: <84776a970806050243l2e24945av911348d8f63e609a@mail.gmail.com> 2008/6/5 Grzegorz Sobanski : > * Panoramix [2008-06-05 08:56]: >> >> Hello cesar . >> >> When the script arrives at the end (./configure) : >> >> checking for pkg-config... /usr/bin/pkg-config >> checking pkg-config is at least version 0.9.0... yes >> checking for MONO... no >> checking for csc.exe... no >> configure: error : You need to install either Mono or .Net > > You probably have only runtime packages installed. > > Try installing: mono-2.0-devel (and mono-1.0-devel to be sure). You have MonoDevelop installed, so you should be abble to use gmcs -pkg:gtk-sharp ./*cs > > Hope this helps > > silk > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From lluis at novell.com Thu Jun 5 05:46:10 2008 From: lluis at novell.com (Lluis Sanchez Gual) Date: Thu, 05 Jun 2008 11:46:10 +0200 Subject: [Mono-list] Help! I accidentally deleted "Button" from my Widgets in the Toolbox In-Reply-To: <17647690.post@talk.nabble.com> References: <17647690.post@talk.nabble.com> Message-ID: <1212659170.4925.4.camel@portador.aticatac-centre> Right click on the toolbox -> Add Items -> select Gtk.Button El dc 04 de 06 del 2008 a les 07:10 -0700, en/na xt225geo va escriure: > I accidentally deleted the "Button" widget from my toolbox in the IDE, and > now I can't find it to restore it. Can someone please walk me through this? > > I know- really a dumb question... but it's really frustrating when trying to > learn a new IDE you have to stop everything to correct a seemingly simple > mistake. > > I am running Mono Develop in Ubuntu Hardy Heron. > > Thanks in advance for any help. > > -Chris > > > > From elmar at haneke.de Thu Jun 5 06:38:01 2008 From: elmar at haneke.de (Elmar Haneke) Date: Thu, 05 Jun 2008 12:38:01 +0200 Subject: [Mono-list] Fontsize in Pango.Layout Message-ID: <4847C209.4090401@haneke.de> Fontsize management in Pango.Layout seems to be broken. The Code below does print using Pango and using Cairo directly, the fortsizes are obviously different. Is there any problem in my Code? Where to file this bug? class PrintTest { public static void Main (string[] args) { Cairo.PdfSurface surface= new Cairo.PdfSurface("Test.pdf",mm(210),mm(297)); Cairo.Context cc=new Cairo.Context(surface); Test1(cc,20,20,"Arial",8); Test1(cc,20,30,"Arial",10); Test1(cc,20,40,"Arial",12); Test1(cc,20,50,"Times New Roman",8); Test1(cc,20,60,"Times New Roman",10); Test1(cc,20,70,"Times New Roman",12); Test2(cc,80,20,"Arial",8); Test2(cc,80,30,"Arial",10); Test2(cc,80,40,"Arial",12); Test2(cc,80,50,"Times New Roman",8); Test2(cc,80,60,"Times New Roman",10); Test2(cc,80,70,"Times New Roman",12); surface.Finish(); } static void Test1( Cairo.Context cc, double xCor, double yCor, string FontName, double FontSize ) { Pango.Layout layout = Pango.CairoHelper.CreateLayout(cc); layout.FontDescription = Pango.FontDescription.FromString(FontName); layout.FontDescription.Size= (int)(FontSize * Pango.Scale.PangoScale); layout.SetText(FontName + " " + FontSize.ToString()); cc.MoveTo (mm(xCor),mm(yCor)); Pango.CairoHelper.ShowLayout(cc,layout); } static void Test2( Cairo.Context cc, double xCor, double yCor, string FontName, double FontSize ) { cc.SelectFontFace( FontName, Cairo.FontSlant.Normal, Cairo.FontWeight.Normal); cc.SetFontSize(FontSize); cc.MoveTo(mm(xCor),mm(yCor)); cc.TextPath(FontName + " " + FontSize.ToString()); cc.Fill(); } static double mm(double mmVal) { return mmVal*72.0/25.4; } } From sebastien.pouliot at gmail.com Thu Jun 5 07:40:01 2008 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Thu, 05 Jun 2008 07:40:01 -0400 Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono In-Reply-To: <17607386.post@talk.nabble.com> References: <17607386.post@talk.nabble.com> Message-ID: <1212666001.2826.99.camel@poupou.home> On Mon, 2008-06-02 at 11:31 -0700, herenvardo wrote: > I'll try to be short and concise: a few months ago I started developing a > project in Microsoft Visual C# 2008 Express Edition, with the idea of making > it Mono-compatible. In order to achieve that goal, I have been checking Mono > project's progress on this site frequently, and kept running MoMA checks on > all my assemblies at least once a week. Now that some pieces of the project > start holding together, I've started some testing: > On .NET (3.5 upon Win XP Home SP3), the application runs fine, besides some > minor glitches (like "added the wrong icon to that menu" or "forgot to > localize the 'Filter' property for this SaveDialog", but no serious errors > until now. > Running MoMA on these assemblies only mentions a few ToDo's about the > TextBoxBase.Undo() method and the auto-complete stuff on combo-boxes: these > are useful features, but no critical after all (and chances are high that > Mono 2.0 would be out there before I make a first "stable" release). > Trying to run the applicantion on Mono (1.9.1, upon the same Win system) > with a command like: > mono myProgram.exe > apparently does nothing. Could you be more specific ? e.g. does it just "freeze" there without showing anything or do you get the command prompt back ? is an empty window visible ? or a new process ? > When I found about the -v switch, I got what I'd > guess is an exception's traceback, mentioning calls to > OutOfMemoryException's, NullReferenceException's and > StackOverflowException's constructors: this cannot be good at all. Actually you're wrong because it's good ;-). The exception are created, not thrown, at the start of the application because, when the right situation occurs (like an being out of memory) it's a bad time to create (allocate) an exception but the perfect time to throw the existing one. > I have tried a few helloworld-like programs, to make sure that mono was > working properly, and they ran fine. And they all should show the same exception creation when starting. > I have absolutelly no previous experience with Mono, and very limited > experience with non-Windows systems (except some DOS tinkering long ago), so > I'm completelly lost. I have no idea about how to debug the assembly in mono > (ie: try to see what's causing these exceptions), nor even how to compile my > project using mono's compiler instead of Microsoft's (maybe the visual > compiler is doing something weird). Worst of all (the previous would be > actually good otherwise, since it's a chance to learn and a challenge), I've > been unable to find any sources about these "basic" topics on the web, such > as tutorials, faqs, troubleshooting examples... absolutely nothing after 3 > hours of googling. > So, could someone please point me to any resource to, at least, get started > in the topic? Start by providing some basic info, like are you using Mono on Windows, Linux, other OS ? which distro/version (OS) and package/version for Mono ... > Thanks in advance, both on my part and on that of any "non-Windowed" > potential user for my project. Sebastien From herenvardo at gmail.com Thu Jun 5 09:26:55 2008 From: herenvardo at gmail.com (herenvardo) Date: Thu, 5 Jun 2008 06:26:55 -0700 (PDT) Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono In-Reply-To: <1212666001.2826.99.camel@poupou.home> References: <17607386.post@talk.nabble.com> <1212666001.2826.99.camel@poupou.home> Message-ID: <17669768.post@talk.nabble.com> Sebastien Pouliot-2 wrote: > > Could you be more specific ? e.g. does it just "freeze" there without > showing anything or do you get the command prompt back ? is an empty > window visible ? or a new process ? > I tried to run the program on mono and get back to the command prompt within 1-2 seconds. The program is a WinForms application and is supposed to display a form when run. The form never appears when running from Mono, nor any kind of error message. UPDATE: After learning a bit more about mono's command line options, I tried running the program with --debug. I'm attaching the whole trace as a txt file for the case it might be useful, but as a summary: System.Reflection.TargetInvocationException (with System.IndexOutOfRangeException as the inner exception) thrown by System.Windows.Forms.Layout.TableLayoutSettingsTypeConverter.ParseRowStyle( System.Xml.XmlDocument, System.Windows.Forms.TableLayoutSettings). Digging to the base of the trace, I can identify the first calls after the ones within my own code to be the designer-generated code for locacalization. I've tried to localize a variation of the Hello World program to see if it crashes, but it ran properly (actually, .NET erronously took my local language as Spanish, while Mono properly detected it as Catalan). I'll try to investigate further that trace; but being unable to reproduce the problem upon .NET and hence upon the Visual Studio debugger (the environment I'm used to debug under), doesn't help too much. Sebastien Pouliot-2 wrote: > > I have tried a few helloworld-like programs, to make sure that mono was >> working properly, and they ran fine. > > And they all should show the same exception creation when starting. > I didn't use the -v with them originally, because they were working fine; but after reading your reply I checked it and indeed they create the exceptions as well. My mistake was to assume that these messages were a trace: I knew my program was crashing, so there had to be a trace somewhere, and it looked like a trace so I just assumed what seemed to be obvious (despite being actually wrong). Now that I've found the real trace for my program's crash, things make a bit more sense. Sebastien Pouliot-2 wrote: > Start by providing some basic info, like are you using Mono on Windows, > Linux, other OS ? which distro/version (OS) and package/version for > Mono ... > I'm working upon Windows XP Home Service Pack 3 (the machine is an Acer laptop powered by an AMD Turion 64 2GHz cpu with 1536Mb of RAM, if this info helps). The version of Mono is 1.9.1. for Windows (the package listed as "Mono for Windows, Gtk#, and XSP" in the Mono Downloads page). The project itself, as of currently, is made of a few assemblies: towo.dll (doesn't depend on other parts of the project): this is the "core" of the project: it defines a few hundreds types and some thousands of methods to be used by the rest of components. towoedit.dll (depends only on towo.dll): defines several UserControl derivates providing "editor" UI components for some of the types defined within towo.dll. There are also a couple of multi-purpose forms. SpellEditorDemo.exe (depends directly on towoedit.dll and indirectly on towo.dll): An extremely simple WinForms application that simply wraps one of the components defined in towoedit.dll to enable testing and trying it. In addition, there are some satelite resource assemblies for each of the main assemblies, with the translations of texts into Catalan and Spanish (the main assemblies default to English). All the assemblies have been generated with Microsoft Visual C# 2008 Express Edition; and the projects target the version 3.5 version of the .NET Framework (currently, the only feature used that wouldn't be available on 2.0 are extension methods; with the possibility of using LINQ to XML already in mind). I want to insist on that MoMA only reported a few TODOs about the Undo and AutoComplete functionalities of some WinForms controls (while these features are indeed useful, they are not critical for the project). I don't know if there is anything else I should mention about the project and the environment; in that case simply ask. Thanks again for the time and effort dedicated to helping me in solving this issue. I'll keep trying to figure things out and find answers by myself, and update this thread if I come up with something relevant (even when taking blind shots, one might be lucky enough to eventually hit the target, so it's worth a try). -- View this message in context: http://www.nabble.com/Help-for-porting%3A-VC--2008-express-binaries-crashing-when-run-by-mono-tp17607386p17669768.html Sent from the Mono - General mailing list archive at Nabble.com. From andyhume32 at yahoo.co.uk Thu Jun 5 10:01:25 2008 From: andyhume32 at yahoo.co.uk (Andy Hume) Date: Thu, 5 Jun 2008 15:01:25 +0100 Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono In-Reply-To: <17607386.post@talk.nabble.com> References: <17607386.post@talk.nabble.com> Message-ID: <01ba01c8c714$a4f8a0d0$0302a8c0@alanpc1> --debug is generally much more helpful, and *much much much* less verbose, than -v. Try it and see you get any errors reported on the console then. IIRC when running a winexe assembly (e.g. a WinForms app) the program will detach from the console and so can't output any errors. --debug keeps the attachment. (Or briefly change the build type to "exe" in your VS solution). Andy > -----Original Message----- > From: mono-list-bounces at lists.ximian.com > [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of herenvardo > Sent: 02 June 2008 19:31 > To: mono-list at lists.ximian.com > Subject: [Mono-list] Help for porting: VC# 2008 express > binaries crashing when run by mono > > > I'll try to be short and concise: a few months ago I started > developing a project in Microsoft Visual C# 2008 Express > Edition, with the idea of making it Mono-compatible. In order > to achieve that goal, I have been checking Mono project's > progress on this site frequently, and kept running MoMA > checks on all my assemblies at least once a week. Now that > some pieces of the project start holding together, I've > started some testing: > On .NET (3.5 upon Win XP Home SP3), the application runs > fine, besides some minor glitches (like "added the wrong icon > to that menu" or "forgot to localize the 'Filter' property > for this SaveDialog", but no serious errors until now. > Running MoMA on these assemblies only mentions a few ToDo's about the > TextBoxBase.Undo() method and the auto-complete stuff on > combo-boxes: these are useful features, but no critical after > all (and chances are high that Mono 2.0 would be out there > before I make a first "stable" release). > Trying to run the applicantion on Mono (1.9.1, upon the same > Win system) with a command like: > mono myProgram.exe > apparently does nothing. When I found about the -v switch, I > got what I'd guess is an exception's traceback, mentioning > calls to OutOfMemoryException's, NullReferenceException's and > StackOverflowException's constructors: this cannot be good at all. > I have tried a few helloworld-like programs, to make sure > that mono was working properly, and they ran fine. > > I have absolutelly no previous experience with Mono, and very > limited experience with non-Windows systems (except some DOS > tinkering long ago), so I'm completelly lost. I have no idea > about how to debug the assembly in mono > (ie: try to see what's causing these exceptions), nor even > how to compile my project using mono's compiler instead of > Microsoft's (maybe the visual compiler is doing something > weird). Worst of all (the previous would be actually good > otherwise, since it's a chance to learn and a challenge), > I've been unable to find any sources about these "basic" > topics on the web, such as tutorials, faqs, troubleshooting > examples... absolutely nothing after 3 hours of googling. > So, could someone please point me to any resource to, at > least, get started in the topic? > > Thanks in advance, both on my part and on that of any "non-Windowed" > potential user for my project. > > Regards, > Herenvard? > -- > View this message in context: > http://www.nabble.com/Help-for-porting%3A-VC--2008-express-bin > aries-crashing-when-run-by-mono-tp17607386p17607386.html > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From pocm at soton.ac.uk Thu Jun 5 10:04:08 2008 From: pocm at soton.ac.uk (pmatos) Date: Thu, 5 Jun 2008 07:04:08 -0700 (PDT) Subject: [Mono-list] importing class libraries In-Reply-To: <17667570.post@talk.nabble.com> References: <17667570.post@talk.nabble.com> Message-ID: <17670626.post@talk.nabble.com> jhs wrote: > > Hello, > > I am using MonoDevelop with ASP.net C#, and I need to use OLEDB to connect > to my mySQL database. However, I am having a problem to use > System.Data.oledb when I try to use it. I guess I will have to download it > first and link it within MonoDevelop. > I have been searching on the internet for hours now, and I only found > tutorials on how to establish the connection etc, but not how to actually > use oledb within MonoDevelop. > > Thanks in advance, > Jhs. > Fortunately we solved this already! :D -- View this message in context: http://www.nabble.com/importing-class-libraries-tp17667570p17670626.html Sent from the Mono - General mailing list archive at Nabble.com. From abe.gillespie at gmail.com Thu Jun 5 10:25:35 2008 From: abe.gillespie at gmail.com (Abe Gillespie) Date: Thu, 5 Jun 2008 10:25:35 -0400 Subject: [Mono-list] Error:"Color XXXX is not a valid color". In-Reply-To: <200806051016580157438@t-star.com.cn> References: <200806051016580157438@t-star.com.cn> Message-ID: <883B7CEE-08C2-473D-9745-7608BB6EDE60@gmail.com> For the record, you should probably not be renaming libraries, rather you should use symbolic links: ln -s libgdiplus.so.0 libgdiplus.so -Abe On Jun 4, 2008, at Jun/4/08 10:16 PM, wangli wrote: > thank to Sebastien Pouliot and Maxim.I Install libgdiplus library, > but libgdiplus.so become to libgdiplus.so.0, libgdiplus.so.0.0.0. I > rename them to libgdiplus.so, It's OK.(Sorry, My English not good) > > wangli > 2008-06-05 > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080605/0274b30b/attachment.html From surfzoid at gmail.com Thu Jun 5 10:33:31 2008 From: surfzoid at gmail.com (Petit Eric) Date: Thu, 5 Jun 2008 16:33:31 +0200 Subject: [Mono-list] Graph widgets In-Reply-To: <84776a970806050248pe6b289ct2a091986985c7bb5@mail.gmail.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <84776a970806041336n3bda513aoe9563668b22e649e@mail.gmail.com> <17663505.post@talk.nabble.com> <84776a970806050248pe6b289ct2a091986985c7bb5@mail.gmail.com> Message-ID: <84776a970806050733t1e2693a5pc91361244ccc613e@mail.gmail.com> Well Panoramix , is it good with this dll ? 2008/6/5 Petit Eric : > You try to compile the Assembly dll to use it in a project, by using > existing sample code, find attached the compiled dll of graph, panel > and so on. > > 2008/6/5 Panoramix : >> >> Hello Eric . >> >> The reusult of my # mono --version : >> Mono JIT compiler version 1.2.6 (tarball) >> Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com >> TLS: __thread >> GC: Included Boehm (with typed GC) >> SIGSEGV: altstack >> Notifications: epoll >> Architecture: x86 >> Disabled: none >> I'm working on a UBUNTU 8.04 and Mono and Monodevelop 1.0 are installed from >> official >> UBUNTU repos . >> >> When from a shell I launch Mono I need to type only "mono" so I think that >> the >> environment variables are correct . >> >> If from a shell I type " whereis mono" I receive this : >> >> mono: /usr/bin/mono /etc/mono /usr/lib/mono /usr/share/mono >> /usr/share/man/man1/mono.1.gz >> >> >> Petit Eric wrote: >>> >>> Simply report here the output of >>> which mono >>> also >>> mono -V >>> If your are using the generic linux installer to have a last version >>> of mono than the one with your distro and say do not modify your >>> environment path during installation, i gess when yu use mono it is >>> something like : >>> /opt/mono.x.x/bin/mono prog.exe >>> I just compil it today under mdv 2008.1 without any problem. >>> Someone know if there a way to use or have similar assembly of OWC >>> (office web component) from Windows. >>> >>> 2008/6/4 Cesar Octavio Lopez Nataren : >>>> Can you provide the exact error message that you get during >>>> configuration time, please? >>>> >>>> c?sar >>>> >>>> Panoramix wrote: >>>>> Hello to all >>>>> >>>>> At last I found the component to make 2D lines graph in GTK# but I can >>>>> not >>>>> compile it. >>>>> I downloaded the sources from >>>>> www.medsphere.org/projects/widgets >>>>> >>>>> I unpacked the file but when launching the configure script I receive a >>>>> message saying that I did not MONO. >>>>> The problem is that I have Mono and Mono develop installed . >>>>> I'm using a UBUBTU 8.04 >>>>> How to solve? >>>>> >>>>> Thanks to all. >>>>> >>>>> PS >>>>> Medsphere.Widgets currently includes 4 widgets: >>>>> >>>>> CPaned: A helper class for dealing with Gtk.VPaneds with a >>>>> Gtk.Expander >>>>> child >>>>> FBox: A "flowed" container for wrapping widgets >>>>> GridView: An Excel-like grid >>>>> Graph: A Cairo-based 2D graph >>>>> IconLayout: A Cairo-based icon view >>>>> >>>>> >>>>> ----- >>>>> :working: >>>>> ----------------------------------------------------------------------------- >>>>> http://freeflow.awardspace.com http://freeflow.awardspace.com >>>>> ----------------------------------------------------------------------------- >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Mono-list maillist - Mono-list at lists.ximian.com >>>> http://lists.ximian.com/mailman/listinfo/mono-list >>>> >>> _______________________________________________ >>> Mono-list maillist - Mono-list at lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >>> >> >> >> ----- >> :working: >> ----------------------------------------------------------------------------- >> http://freeflow.awardspace.com http://freeflow.awardspace.com >> ----------------------------------------------------------------------------- >> >> -- >> View this message in context: http://www.nabble.com/Graph-widgets-tp17646571p17663505.html >> Sent from the Mono - General mailing list archive at Nabble.com. >> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> > From pocm at soton.ac.uk Thu Jun 5 10:42:41 2008 From: pocm at soton.ac.uk (pmatos) Date: Thu, 5 Jun 2008 07:42:41 -0700 (PDT) Subject: [Mono-list] ADO.NET misunderstanding Message-ID: <17671466.post@talk.nabble.com> Hello all, Initially I thought ADO.NET was like OJB for Java, an object relational bridge. After some searching it just seems to be a connectivity API to different data sources but doesn't provide a object relational bridge. Is there anything similar to OBJ for C# in Mono? Cheers, Paulo Matos -- View this message in context: http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html Sent from the Mono - General mailing list archive at Nabble.com. From jonpryor at vt.edu Thu Jun 5 10:43:37 2008 From: jonpryor at vt.edu (Jonathan Pryor) Date: Thu, 05 Jun 2008 14:43:37 +0000 Subject: [Mono-list] mono on ubuntu In-Reply-To: <17635119.post@talk.nabble.com> References: <17635119.post@talk.nabble.com> Message-ID: <1212677017.5169.75.camel@lina.magi.balthasar.com> On Tue, 2008-06-03 at 15:22 -0700, hobbitmage wrote: > I have a binary that I'm running thru mono. > > i.e. /usr/local/bin/mono foo.exe > > it's running in a startup script. /etc/init.d/mono > > this script runs fine when run from the command line, but when I use a > launcher on ubuntu I can't start it. > > since I can run it from the command line, it's not a permissions thing. Any > thoughts? As a guess, it's an environment problem. If you're using /usr/local/bin/mono, then you likely need to have /usr/local/lib in LD_LIBRARY_PATH, which (presumably) you do in your login shell, but it likely is NOT being set when run during startup (because it's not executing via your login shell, but the boot-time shell). So, as a guess, edit /etc/init.d/mono and add: export LD_LIBRARY_PATH=/usr/local/lib - Jon From jonpryor at vt.edu Thu Jun 5 10:55:24 2008 From: jonpryor at vt.edu (Jonathan Pryor) Date: Thu, 05 Jun 2008 14:55:24 +0000 Subject: [Mono-list] Announcing .NET CLI In-Reply-To: References: Message-ID: <1212677724.5169.80.camel@lina.magi.balthasar.com> On Wed, 2008-06-04 at 14:31 -0500, Schley Andrew Kutz wrote: > I thought .NET needed a good command line parsing library so I ported > the Apache Commons CLI. .NET CLI is available on SF at http://sf.net/projects/dotnetcli/ > . For an alternate take on command-line parsing, might I suggest you look at NDesk.Options? http://www.ndesk.org/Options The (nearly) full documentation contains a number of examples: http://www.ndesk.org/doc/ndesk-options/NDesk.Options/OptionSet.html - Jon From stephane at omni-ts.com Thu Jun 5 10:58:25 2008 From: stephane at omni-ts.com (=?UTF-8?Q?St=C3=A9phane=20Zanoni?=) Date: Thu, 05 Jun 2008 08:58:25 -0600 Subject: [Mono-list] ADO.NET misunderstanding In-Reply-To: <17671466.post@talk.nabble.com> References: <17671466.post@talk.nabble.com> Message-ID: <4847A91A.D223.00CB.0@omni-ts.com> May be what your looking for: http://www.castleproject.org/activerecord/index.html I haven't used it yet, but will when the need arises. It also provides database portability via NHibernate. Might want to check it out. There are of course a couple commercial options as well, may want to look for: http://google.com/search?q=ORM+.NET St?phane >>> pmatos 6/5/2008 8:42 AM >>> Hello all, Initially I thought ADO.NET was like OJB for Java, an object relational bridge. After some searching it just seems to be a connectivity API to different data sources but doesn't provide a object relational bridge. Is there anything similar to OBJ for C# in Mono? Cheers, Paulo Matos -- View this message in context: http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From monkey at jpobst.com Thu Jun 5 10:59:10 2008 From: monkey at jpobst.com (Jonathan Pobst) Date: Thu, 05 Jun 2008 09:59:10 -0500 Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono In-Reply-To: <17669768.post@talk.nabble.com> References: <17607386.post@talk.nabble.com> <1212666001.2826.99.camel@poupou.home> <17669768.post@talk.nabble.com> Message-ID: <4847FF3E.3000208@jpobst.com> It sounds like a bug in TableLayoutSettingsTypeConverter.ParseRowStyle. If you can get the data sent to the parameter xmlDoc that crashes, we can get a fix for it. You may also be able to find the information in the .Designer file for your form. Whatever is in the InitializeComponents part for your TableLayoutPanel. Also, to get the error on Windows, you need to run "mono myApp.exe 2> error.log" to redirect the error output to a file. Jonathan herenvardo wrote: > > Sebastien Pouliot-2 wrote: >> Could you be more specific ? e.g. does it just "freeze" there without >> showing anything or do you get the command prompt back ? is an empty >> window visible ? or a new process ? >> > I tried to run the program on mono and get back to the command prompt within > 1-2 seconds. The program is a WinForms application and is supposed to > display a form when run. The form never appears when running from Mono, nor > any kind of error message. > UPDATE: After learning a bit more about mono's command line options, I tried > running the program with --debug. I'm attaching the whole trace as a txt > file for the case it might be useful, but as a summary: > System.Reflection.TargetInvocationException (with > System.IndexOutOfRangeException as the inner exception) thrown by > System.Windows.Forms.Layout.TableLayoutSettingsTypeConverter.ParseRowStyle( > System.Xml.XmlDocument, System.Windows.Forms.TableLayoutSettings). Digging > to the base of the trace, I can identify the first calls after the ones > within my own code to be the designer-generated code for locacalization. > I've tried to localize a variation of the Hello World program to see if it > crashes, but it ran properly (actually, .NET erronously took my local > language as Spanish, while Mono properly detected it as Catalan). I'll try > to investigate further that trace; but being unable to reproduce the problem > upon .NET and hence upon the Visual Studio debugger (the environment I'm > used to debug under), doesn't help too much. > > > Sebastien Pouliot-2 wrote: >>> I have tried a few helloworld-like programs, to make sure that mono was >>> working properly, and they ran fine. >> And they all should show the same exception creation when starting. >> > I didn't use the -v with them originally, because they were working fine; > but after reading your reply I checked it and indeed they create the > exceptions as well. My mistake was to assume that these messages were a > trace: I knew my program was crashing, so there had to be a trace somewhere, > and it looked like a trace so I just assumed what seemed to be obvious > (despite being actually wrong). Now that I've found the real trace for my > program's crash, things make a bit more sense. > > > Sebastien Pouliot-2 wrote: >> Start by providing some basic info, like are you using Mono on Windows, >> Linux, other OS ? which distro/version (OS) and package/version for >> Mono ... >> > I'm working upon Windows XP Home Service Pack 3 (the machine is an Acer > laptop powered by an AMD Turion 64 2GHz cpu with 1536Mb of RAM, if this info > helps). The version of Mono is 1.9.1. for Windows (the package listed as > "Mono for Windows, Gtk#, and XSP" in the Mono Downloads page). > The project itself, as of currently, is made of a few assemblies: > towo.dll (doesn't depend on other parts of the project): this is the "core" > of the project: it defines a few hundreds types and some thousands of > methods to be used by the rest of components. > towoedit.dll (depends only on towo.dll): defines several UserControl > derivates providing "editor" UI components for some of the types defined > within towo.dll. There are also a couple of multi-purpose forms. > SpellEditorDemo.exe (depends directly on towoedit.dll and indirectly on > towo.dll): An extremely simple WinForms application that simply wraps one of > the components defined in towoedit.dll to enable testing and trying it. > In addition, there are some satelite resource assemblies for each of the > main assemblies, with the translations of texts into Catalan and Spanish > (the main assemblies default to English). > All the assemblies have been generated with Microsoft Visual C# 2008 Express > Edition; and the projects target the version 3.5 version of the .NET > Framework (currently, the only feature used that wouldn't be available on > 2.0 are extension methods; with the possibility of using LINQ to XML already > in mind). > I want to insist on that MoMA only reported a few TODOs about the Undo and > AutoComplete functionalities of some WinForms controls (while these features > are indeed useful, they are not critical for the project). > I don't know if there is anything else I should mention about the project > and the environment; in that case simply ask. > > Thanks again for the time and effort dedicated to helping me in solving this > issue. I'll keep trying to figure things out and find answers by myself, and > update this thread if I come up with something relevant (even when taking > blind shots, one might be lucky enough to eventually hit the target, so it's > worth a try). From monkey at jpobst.com Thu Jun 5 10:59:30 2008 From: monkey at jpobst.com (Jonathan Pobst) Date: Thu, 05 Jun 2008 09:59:30 -0500 Subject: [Mono-list] Newbie needs help In-Reply-To: <17641139.post@talk.nabble.com> References: <17641139.post@talk.nabble.com> Message-ID: <4847FF52.8040407@jpobst.com> This is probably the best place to start: http://www.mono-project.com/Guide:_Porting_Winforms_Applications Good luck! Jonathan fmpfmpf wrote: > i have a source code of a camera viewer but it works only on Windows. > i am told that i can use Mono to recreate the camera viewer in Linux. > My question is, how do i start? > > thank you. From opgenorth at gmail.com Thu Jun 5 11:14:15 2008 From: opgenorth at gmail.com (Tom Opgenorth) Date: Thu, 5 Jun 2008 09:14:15 -0600 Subject: [Mono-list] ADO.NET misunderstanding In-Reply-To: <17671466.post@talk.nabble.com> References: <17671466.post@talk.nabble.com> Message-ID: <140160570806050814m11196cbod13eee09f4ce080a@mail.gmail.com> If what you're looking for is an ORM, then you might want to take a peak at either NHibernate (http://www.nhibernate.org). NHibernate is the .NET port of Hibernate, the Java ORM. NHibernate is, IMHO, an excellent tool, but it does take some effort to learn. ActiveRecord (http://www.castleproject.org/activerecord/index.html), is a project from the Castle stack that tries simplifies the use of NHibernate. Here is a good presentation on ActiveRecord: http://www.infoq.com/presentations/eini-verissimo-castle-active-record (by Oren Eini and Hamilton Verissimo) On Thu, Jun 5, 2008 at 8:42 AM, pmatos wrote: > > Hello all, > > Initially I thought ADO.NET was like OJB for Java, an object relational > bridge. After some searching it just seems to be a connectivity API to > different data sources but doesn't provide a object relational bridge. Is > there anything similar to OBJ for C# in Mono? > > Cheers, > > Paulo Matos > -- > View this message in context: http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- http://www.opgenorth.net From abe.gillespie at gmail.com Thu Jun 5 11:24:55 2008 From: abe.gillespie at gmail.com (Abe Gillespie) Date: Thu, 5 Jun 2008 11:24:55 -0400 Subject: [Mono-list] ADO.NET misunderstanding In-Reply-To: <140160570806050814m11196cbod13eee09f4ce080a@mail.gmail.com> References: <17671466.post@talk.nabble.com> <140160570806050814m11196cbod13eee09f4ce080a@mail.gmail.com> Message-ID: <49649FFB-68F8-4F63-A7FF-3678D781E02C@gmail.com> One that I really love and have had great success with is SubSonic. As opposed to NHibernate, it conforms to convention over configuration and is a breeze to get running. Check out the plethora of videos if you need convincing. Now the previous version lacked true support for Postgres (though there were some unofficial extensions running around), but you should try and see if you can get the latest beta up & running. If you do, I assure you it will quickly convince you of its usefulness. http://subsonicproject.com/ Full disclosure - I'm in no way associated with the project ... just a very happy user. -Abe On Jun 5, 2008, at 11:14 AM, Tom Opgenorth wrote: > If what you're looking for is an ORM, then you might want to take a > peak at either NHibernate (http://www.nhibernate.org). NHibernate is > the .NET port of Hibernate, the Java ORM. NHibernate is, IMHO, an > excellent tool, but it does take some effort to learn. > > ActiveRecord (http://www.castleproject.org/activerecord/index.html), > is a project from the Castle stack that tries simplifies the use of > NHibernate. Here is a good presentation on ActiveRecord: > http://www.infoq.com/presentations/eini-verissimo-castle-active-record > (by Oren Eini and Hamilton Verissimo) > > > On Thu, Jun 5, 2008 at 8:42 AM, pmatos wrote: >> >> Hello all, >> >> Initially I thought ADO.NET was like OJB for Java, an object >> relational >> bridge. After some searching it just seems to be a connectivity API >> to >> different data sources but doesn't provide a object relational >> bridge. Is >> there anything similar to OBJ for C# in Mono? >> >> Cheers, >> >> Paulo Matos >> -- >> View this message in context: http://www.nabble.com/ADO.NET-misunderstanding-tp17671466p17671466.html >> Sent from the Mono - General mailing list archive at Nabble.com. >> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> > > > > -- > http://www.opgenorth.net > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From pocm at soton.ac.uk Thu Jun 5 12:47:03 2008 From: pocm at soton.ac.uk (pmatos) Date: Thu, 5 Jun 2008 09:47:03 -0700 (PDT) Subject: [Mono-list] Book Recommendation Message-ID: <17674619.post@talk.nabble.com> Hi all, Given I am new to Mono and all .NET technology I thought about getting a book that would be enough for me to get enough info on developing web based applications using ASP.NET and C# using Mono. I thought about getting Practical Mono, however, this seems to be a few years old and I am afraid it might be out of date. There are also hundreds of other books not related to Mono but discussing the technologies themselves. Although I would prefer Mono-based books, I am open to other suggestions. Is practical mono still up to date enough for me not to get lost or should I get another book? Cheers, Paulo Matos -- View this message in context: http://www.nabble.com/Book-Recommendation-tp17674619p17674619.html Sent from the Mono - General mailing list archive at Nabble.com. From abockover at novell.com Thu Jun 5 13:02:28 2008 From: abockover at novell.com (Aaron Bockover) Date: Thu, 05 Jun 2008 11:02:28 -0600 Subject: [Mono-list] Fontsize in Pango.Layout Message-ID: <4847E3E50200002A00024125@sinclair.provo.novell.com> I didn't actually read your code, but when using Cairo to render Pango layouts, you must inform Cairo of the DPI setting, otherwise you will see a scaling difference between Cairo and Gdk. Cairo defaults to 96 DPI. You need to call pango_cairo_context_set_resolution to do this (on the Pango context). You can get the resolution easily through the Screen.Resolution property of a Gtk.Widget. http://svn.gnome.org/svn/banshee/trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/CairoExtensions.cs http://svn.gnome.org/svn/banshee/trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/PangoCairoHelper.cs See CreateLayout in CairoExtensions.cs. All of this should be possible by using more recent Gtk# and Mono.Cairo. We just need to run on older Gtk# releases, so some of the functionality is bound manually in Banshee. --Aaron >>> Elmar Haneke 06/05/08 6:39 AM >>> Fontsize management in Pango.Layout seems to be broken. The Code below does print using Pango and using Cairo directly, the fortsizes are obviously different. Is there any problem in my Code? Where to file this bug? class PrintTest { public static void Main (string[] args) { Cairo.PdfSurface surface= new Cairo.PdfSurface("Test.pdf",mm(210),mm(297)); Cairo.Context cc=new Cairo.Context(surface); Test1(cc,20,20,"Arial",8); Test1(cc,20,30,"Arial",10); Test1(cc,20,40,"Arial",12); Test1(cc,20,50,"Times New Roman",8); Test1(cc,20,60,"Times New Roman",10); Test1(cc,20,70,"Times New Roman",12); Test2(cc,80,20,"Arial",8); Test2(cc,80,30,"Arial",10); Test2(cc,80,40,"Arial",12); Test2(cc,80,50,"Times New Roman",8); Test2(cc,80,60,"Times New Roman",10); Test2(cc,80,70,"Times New Roman",12); surface.Finish(); } static void Test1( Cairo.Context cc, double xCor, double yCor, string FontName, double FontSize ) { Pango.Layout layout = Pango.CairoHelper.CreateLayout(cc); layout.FontDescription = Pango.FontDescription.FromString(FontName); layout.FontDescription.Size= (int)(FontSize * Pango.Scale.PangoScale); layout.SetText(FontName + " " + FontSize.ToString()); cc.MoveTo (mm(xCor),mm(yCor)); Pango.CairoHelper.ShowLayout(cc,layout); } static void Test2( Cairo.Context cc, double xCor, double yCor, string FontName, double FontSize ) { cc.SelectFontFace( FontName, Cairo.FontSlant.Normal, Cairo.FontWeight.Normal); cc.SetFontSize(FontSize); cc.MoveTo(mm(xCor),mm(yCor)); cc.TextPath(FontName + " " + FontSize.ToString()); cc.Fill(); } static double mm(double mmVal) { return mmVal*72.0/25.4; } } _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From surfzoid at gmail.com Thu Jun 5 05:46:32 2008 From: surfzoid at gmail.com (Petit Eric) Date: Thu, 5 Jun 2008 11:46:32 +0200 Subject: [Mono-list] Graph widgets In-Reply-To: <84776a970806050243l2e24945av911348d8f63e609a@mail.gmail.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <17663392.post@talk.nabble.com> <20080605081746.GA9212@mail.rootnode.pl> <84776a970806050243l2e24945av911348d8f63e609a@mail.gmail.com> Message-ID: <84776a970806050246u44c3dbd0nf26565fad5a431b5@mail.gmail.com> You try to compile the Assembly dll to use it in a project, by using existing sample code, find attached the compiled dll of graph, panel and so on. 2008/6/5 Petit Eric : > 2008/6/5 Grzegorz Sobanski : >> * Panoramix [2008-06-05 08:56]: >>> >>> Hello cesar . >>> >>> When the script arrives at the end (./configure) : >>> >>> checking for pkg-config... /usr/bin/pkg-config >>> checking pkg-config is at least version 0.9.0... yes >>> checking for MONO... no >>> checking for csc.exe... no >>> configure: error : You need to install either Mono or .Net >> >> You probably have only runtime packages installed. >> >> Try installing: mono-2.0-devel (and mono-1.0-devel to be sure). > You have MonoDevelop installed, so you should be abble to use gmcs > -pkg:gtk-sharp ./*cs >> >> Hope this helps >> >> silk >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: Medsphere.Widgets.zip Type: application/zip Size: 49675 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080605/dacb256b/attachment-0001.zip From jhs06r at ecs.soton.ac.uk Thu Jun 5 07:18:10 2008 From: jhs06r at ecs.soton.ac.uk (jhs) Date: Thu, 5 Jun 2008 04:18:10 -0700 (PDT) Subject: [Mono-list] importing class libraries Message-ID: <17667570.post@talk.nabble.com> Hello, I am using MonoDevelop with ASP.net C#, and I need to use OLEDB to connect to my mySQL database. However, I am having a problem to use System.Data.oledb when I try to use it. I guess I will have to download it first and link it within MonoDevelop. I have been searching on the internet for hours now, and I only found tutorials on how to establish the connection etc, but not how to actually use oledb within MonoDevelop. Thanks in advance, Jhs. -- View this message in context: http://www.nabble.com/importing-class-libraries-tp17667570p17667570.html Sent from the Mono - General mailing list archive at Nabble.com. From rhornsby at weldoninc.com Thu Jun 5 09:55:58 2008 From: rhornsby at weldoninc.com (rhornsby) Date: Thu, 5 Jun 2008 06:55:58 -0700 (PDT) Subject: [Mono-list] DataGridViewTextBoxColumn ignores "Visible" property? Message-ID: <17670425.post@talk.nabble.com> Apologies, I'm new to C# and even newer to Mono. I've got a simple application right now with some checkboxes and a datagrid (with just headings, no columns or data yet). Toggling the checkbox is supposed to toggle the visibility of a corresponding Datagrid column. This seems to work fine in Windows/.Net, but not in Mono (latest OS X package or the SuSe VMWare image). private System.Windows.Forms.DataGridViewTextBoxColumn dgColVspeed; I've been able to confirm that the toggle event is taking place, and that I can make the toggle cause one of the other checkboxes to disappear. However, the datagrid columns remain visible regardless. I've also noticed that even if I set the property in the code where the element is being created and the rest of the properties (format,name, etc) are being set, "visible" is ignored. Is this just an unsupported operation? I found this http://www.nabble.com/-Mono-dev--Mono-1.1.9-broken-DataGrid-tp872361p872361.html but it was from several versions ago, so I don't think it applies now? thanks guys -rj -- View this message in context: http://www.nabble.com/DataGridViewTextBoxColumn-ignores-%22Visible%22-property--tp17670425p17670425.html Sent from the Mono - General mailing list archive at Nabble.com. From sakutz at gmail.com Thu Jun 5 11:02:29 2008 From: sakutz at gmail.com (Schley Andrew Kutz) Date: Thu, 5 Jun 2008 10:02:29 -0500 Subject: [Mono-list] Announcing .NET CLI In-Reply-To: <1212677724.5169.80.camel@lina.magi.balthasar.com> References: <1212677724.5169.80.camel@lina.magi.balthasar.com> Message-ID: <628E659E-FC65-4BED-B131-48015F7AB116@gmail.com> Very nice! I forgot to add that because my port is unit test compatible with the Apache version, all of their documentation is valid for the .NET version as well. The changes that were necessary are detailed on the Apache Commons WIKI at http://wiki.apache.org/commons/CLI . Hope this helps! -- -a "condensing fact from the vapor of nuance" On Jun 5, 2008, at 9:55 AM, Jonathan Pryor wrote: > On Wed, 2008-06-04 at 14:31 -0500, Schley Andrew Kutz wrote: >> I thought .NET needed a good command line parsing library so I ported >> the Apache Commons CLI. .NET CLI is available on SF at http://sf.net/projects/dotnetcli/ >> . > > For an alternate take on command-line parsing, might I suggest you > look > at NDesk.Options? > > http://www.ndesk.org/Options > > The (nearly) full documentation contains a number of examples: > > http://www.ndesk.org/doc/ndesk-options/NDesk.Options/OptionSet.html > > - Jon > > From damien.miller at cometway.com Thu Jun 5 14:08:23 2008 From: damien.miller at cometway.com (Damien Miller) Date: Thu, 5 Jun 2008 14:08:23 -0400 Subject: [Mono-list] Shameless plug, was mono problems with Ajax Message-ID: <008701c8c737$25183010$6f489030$@miller@cometway.com> Hi Ferdinand, My company makes a C# websever that will run Atlas. The download includes a demo of running MS AJAX so you can see how it works. Finally, note that one of the scripts included with AJAX will NOT compile under mono so you can't use any refs to that script. Our server is at www.neokernel.com Hope this helps, Damien Miller From the FAQ on the mono site >>>>>>>>>>>>>>>>>>>>>>> Does Mono support Atlas? Mono does not support Atlas (now called ASP.NET AJAX) There was some early work done to support an early version of Atlas, but the code was not complete, we do not ship it, it is outdated and is not currently being maintained. >>>>>>>>>>>>>>>>>>>>>>>> From: Ferdinand Funke Subject: [Mono-list] ASP.Net AJAX with Mono? To: mono-list at lists.ximian.com Message-ID: <132139.74672.qm at web26605.mail.ukl.yahoo.com> Content-Type: text/plain; charset=utf-8 Hello list, I am just trying out the ASP.Net AJAX extensions under .Net and Mono. Therefore I created a rather simple WebApp with just a SciptManager control on the site. Here's the code: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AjaxTest._Default" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> Unbenannte Seite
With .Net it all works fine, but with Mono I get a strange error: Server Error in '/' Application ________________________________ Object reference not set to an instance of an object Description: HTTP 500. Error processing request. Stack Trace: System.NullReferenceException: Object reference not set to an instance of an object at System.Web.UI.ScriptManager.OnPreRenderComplete (System.Object sender, System.EventArgs e) [0x00000] at System.Web.UI.Page.OnPreRenderComplete (System.EventArgs e) [0x00000] at System.Web.UI.Page.ProcessLoadComplete () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] ________________________________ Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42 I placed the System.Web.Extensions.dll from the Mono directory in the the /bin directory of the application, but the error stays the same. The error also appears when I place more AJAX controls on the site than just the ScriptManager. Is there anything I missed? Any help would be greatly appreciated. Best regards, Ferdinand From monkey at jpobst.com Thu Jun 5 16:53:37 2008 From: monkey at jpobst.com (Jonathan Pobst) Date: Thu, 05 Jun 2008 15:53:37 -0500 Subject: [Mono-list] DataGridViewTextBoxColumn ignores "Visible" property? In-Reply-To: <17670425.post@talk.nabble.com> References: <17670425.post@talk.nabble.com> Message-ID: <48485251.8090308@jpobst.com> Your forum link is for DataGrid, not DataGridView. DataGridView has been in heavy development since 1.9. I think this is one of the things I have implemented since then. You can try building the latest source from SVN, or if that is too hard, you can send a small test case and I will verify that it works with the stuff that will ship in Mono 2.0. Thanks! Jonathan rhornsby wrote: > Apologies, I'm new to C# and even newer to Mono. I've got a simple > application right now with some checkboxes and a datagrid (with just > headings, no columns or data yet). Toggling the checkbox is supposed to > toggle the visibility of a corresponding Datagrid column. This seems to > work fine in Windows/.Net, but not in Mono (latest OS X package or the SuSe > VMWare image). > > private System.Windows.Forms.DataGridViewTextBoxColumn dgColVspeed; > > I've been able to confirm that the toggle event is taking place, and that I > can make the toggle cause one of the other checkboxes to disappear. > However, the datagrid columns remain visible regardless. I've also noticed > that even if I set the property in the code where the element is being > created and the rest of the properties (format,name, etc) are being set, > "visible" is ignored. Is this just an unsupported operation? > > I found this > http://www.nabble.com/-Mono-dev--Mono-1.1.9-broken-DataGrid-tp872361p872361.html > but it was from several versions ago, so I don't think it applies now? > > thanks guys > -rj From herenvardo at gmail.com Thu Jun 5 20:22:59 2008 From: herenvardo at gmail.com (herenvardo) Date: Thu, 5 Jun 2008 17:22:59 -0700 (PDT) Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono In-Reply-To: <4847FF3E.3000208@jpobst.com> References: <17607386.post@talk.nabble.com> <1212666001.2826.99.camel@poupou.home> <17669768.post@talk.nabble.com> <4847FF3E.3000208@jpobst.com> Message-ID: <17682293.post@talk.nabble.com> Jonathan Pobst wrote: > > It sounds like a bug in TableLayoutSettingsTypeConverter.ParseRowStyle. > If you can get the data sent to the parameter xmlDoc that crashes, we > can get a fix for it. > That's easier said than done: the Visual Studio's debugger obviously won't allow me to step into the .NET's own code; and the Mono debugger... after more than three hours to find it, get it, and trying to getting it working with no success, I've finally given up. I've also tried to put all the System.Windows.Forms files from Mono's source inside the project, and remove the reference to .NET's own System.Windows.Forms namespace, hoping to be able to step into that code, but the Studio's compiler didn't swallow it. If there is anything else I can try to retrieve this value; or if the Mono debugger can be run on windows without being a makefile-expert (one of the reasons I work on Visual is that I really love being able to compile everything with just hitting F6 ^^), I'm open to suggestions. Jonathan Pobst wrote: > > You may also be able to find the information in the .Designer file for > your form. Whatever is in the InitializeComponents part for your > TableLayoutPanel. > I'm quite familiar with the designer files (I could perfectly build them up from scratch, only that having the designer that can do it for me, why would I bother?), but it didn't reveal anything useful. The code in there simply does what you'd expect it to: initializes the components (creates each control, sets its properties, and then initializes and adds each children control). The nesting of containers might be a bit messy for that designer, but there is no hint about where the error comes from. Jonathan Pobst wrote: > > Also, to get the error on Windows, you need to run "mono myApp.exe 2> > error.log" to redirect the error output to a file. > Well, I actually used "mono myApp.exe>error.log 2<&1", since I didn't know if some output would be going through stdout (better safe than sorry). This reminds me that I forgot to attach the actual log file in my previous post, so here it goes: http://www.nabble.com/file/p17682293/monocrash.log monocrash.log -- View this message in context: http://www.nabble.com/Help-for-porting%3A-VC--2008-express-binaries-crashing-when-run-by-mono-tp17607386p17682293.html Sent from the Mono - General mailing list archive at Nabble.com. From mtausig at fsmat.at Fri Jun 6 03:37:00 2008 From: mtausig at fsmat.at (Mathias Tausig) Date: Fri, 6 Jun 2008 09:37:00 +0200 (CEST) Subject: [Mono-list] Book Recommendation In-Reply-To: <17674619.post@talk.nabble.com> References: <17674619.post@talk.nabble.com> Message-ID: <63613.195.64.3.50.1212737820.squirrel@fsmat.at> Hy! I do not know practical mono. I am currently using "Mono: A developer's notebook" and "C# in a nutshell", both by O'Reilly, which I find pretty convinient. cheers Mathias > > Hi all, > > Given I am new to Mono and all .NET technology I thought about getting a > book that would be enough for me to get enough info on developing web > based > applications using ASP.NET and C# using Mono. > I thought about getting Practical Mono, however, this seems to be a few > years old and I am afraid it might be out of date. There are also hundreds > of other books not related to Mono but discussing the technologies > themselves. Although I would prefer Mono-based books, I am open to other > suggestions. > > Is practical mono still up to date enough for me not to get lost or should > I > get another book? > > Cheers, > > Paulo Matos > -- > View this message in context: > http://www.nabble.com/Book-Recommendation-tp17674619p17674619.html > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > From elmar at haneke.de Fri Jun 6 03:47:45 2008 From: elmar at haneke.de (Elmar Haneke) Date: Fri, 06 Jun 2008 09:47:45 +0200 Subject: [Mono-list] Fontsize in Pango.Layout In-Reply-To: <4847E3E50200002A00024125@sinclair.provo.novell.com> References: <4847E3E50200002A00024125@sinclair.provo.novell.com> Message-ID: <4848EBA1.6080500@haneke.de> > You need to call pango_cairo_context_set_resolution to do this (on the Pango context). You can get the resolution easily through the Screen.Resolution property of a Gtk.Widget. Changing Pango.Layout layout = Pango.CairoHelper.CreateLayout(cc); to Pango.Layout layout=Pango.CairoHelper.CreateLayout(cc); Pango.CairoHelper.ContextSetResolution(layout.Context,72); did solve the Problem. Elmar From andreas.faerber at web.de Fri Jun 6 03:57:46 2008 From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=) Date: Fri, 6 Jun 2008 09:57:46 +0200 Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono In-Reply-To: <17682293.post@talk.nabble.com> References: <17607386.post@talk.nabble.com> <1212666001.2826.99.camel@poupou.home> <17669768.post@talk.nabble.com> <4847FF3E.3000208@jpobst.com> <17682293.post@talk.nabble.com> Message-ID: <8D598C69-27D8-4E80-9FB7-CE6BF117C43A@web.de> Am 06.06.2008 um 02:22 schrieb herenvardo: > Jonathan Pobst wrote: >> >> It sounds like a bug in >> TableLayoutSettingsTypeConverter.ParseRowStyle. >> If you can get the data sent to the parameter xmlDoc that crashes, >> we >> can get a fix for it. >> > That's easier said than done: the Visual Studio's debugger obviously > won't > allow me to step into the .NET's own code; and the Mono debugger... > after > more than three hours to find it, get it, and trying to getting it > working > with no success, I've finally given up. > I've also tried to put all the System.Windows.Forms files from > Mono's source > inside the project, and remove the reference to .NET's own > System.Windows.Forms namespace, hoping to be able to step into that > code, > but the Studio's compiler didn't swallow it. > If there is anything else I can try to retrieve this value; You can always resort to Console.WriteLine. :-) Andreas > or if the Mono > debugger can be run on windows without being a makefile-expert (one > of the > reasons I work on Visual is that I really love being able to compile > everything with just hitting F6 ^^), I'm open to suggestions. From andyhume32 at yahoo.co.uk Fri Jun 6 04:56:49 2008 From: andyhume32 at yahoo.co.uk (Andy Hume) Date: Fri, 6 Jun 2008 01:56:49 -0700 (PDT) Subject: [Mono-list] Help for porting: VC# 2008 express binaries crashing when run by mono In-Reply-To: <17682293.post@talk.nabble.com> References: <17607386.post@talk.nabble.com> <1212666001.2826.99.camel@poupou.home> <17669768.post@talk.nabble.com> <4847FF3E.3000208@jpobst.com> <17682293.post@talk.nabble.com> Message-ID: <17687634.post@talk.nabble.com> I think I've found the problem -- it depends on a MSFT bug that creates bad content. To check that it's the same fault, I'd need to see the input XML. Rather than dealing with debuggers (eek) can you just search all the files in the project for XML starting with element TableLayoutSettings. I don't really understand where MSFT uses this content, if not in the .Designer file, then probably in a .resx file. Did the project start out in VS2008, or maybe in VS2003? I can't get VS2005 to create such content. I have unit tests nearly ready to show this and another wee bug in TableLayoutSettingsTypeConverter. Andy -- View this message in context: http://www.nabble.com/Help-for-porting%3A-VC--2008-express-binaries-crashing-when-run-by-mono-tp17607386p17687634.html Sent from the Mono - General mailing list archive at Nabble.com. From kobruleht2 at hot.ee Fri Jun 6 04:57:48 2008 From: kobruleht2 at hot.ee (Andrus Moor) Date: Fri, 6 Jun 2008 11:57:48 +0300 Subject: [Mono-list] Help for porting: VC# 2008express binaries crashing when run by mono In-Reply-To: <17682293.post@talk.nabble.com> References: <17607386.post@talk.nabble.com><1212666001.2826.99.camel@poupou.home><17669768.post@talk.nabble.com> <4847FF3E.3000208@jpobst.com> <17682293.post@talk.nabble.com> Message-ID: > the Visual Studio's debugger obviously won't > allow me to step into the .NET's own code; Even free C# Express 2008 allows to step into MS System.Windows.Forms.dll source code. Maybe we can use instructions from http://www.codeproject.com/KB/dotnet/netmassdownloader.aspx to debug MONO SWF source also. Andrus. From aria.francesco at gmail.com Fri Jun 6 05:11:38 2008 From: aria.francesco at gmail.com (Panoramix) Date: Fri, 6 Jun 2008 02:11:38 -0700 (PDT) Subject: [Mono-list] Graph widgets In-Reply-To: <84776a970806050246u44c3dbd0nf26565fad5a431b5@mail.gmail.com> References: <17646571.post@talk.nabble.com> <4846FB71.7060804@gmail.com> <17663392.post@talk.nabble.com> <20080605081746.GA9212@mail.rootnode.pl> <84776a970806050243l2e24945av911348d8f63e609a@mail.gmail.com> <84776a970806050246u44c3dbd0nf26565fad5a431b5@mail.gmail.com> Message-ID: <17687869.post@talk.nabble.com> Thanks for the DLL eric , I try immediately to compile one of the examples . :handshake: Petit Eric wrote: > > You try to compile the Assembly dll to use it in a project, by using > existing sample code, find attached the compiled dll of graph, panel > and so on. > 2008/6/5 Petit Eric : >> 2008/6/5 Grzegorz Sobanski : >>> * Panoramix [2008-06-05 08:56]: >>>> >>>> Hello cesar . >>>> >>>> When the script arrives at the end (./configure) : >>>> >>>> checking for pkg-config... /usr/bin/pkg-config >>>> checking pkg-config is at least version 0.9.0... yes >>>> checking for MONO... no >>>> checking for csc.exe... no >>>> configure: error : You need to install either Mono or .Net >>> >>> You probably have only runtime packages installed. >>> >>> Try installing: mono-2.0-devel (and mono-1.0-devel to be sure). >> You have MonoDevelop installed, so you should be abble to use gmcs >> -pkg:gtk-sharp ./*cs >>> >>> Hope this helps >>> >>> silk >>> _______________________________________________ >>> Mono-list maillist - Mono-list at lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >> > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Graph-widgets-tp17646571p17687869.html Sent from the Mono - General mailing list archive at Nabble.com. From miguel at novell.com Fri Jun 6 09:29:28 2008 From: miguel at novell.com (Miguel de Icaza) Date: Fri, 06 Jun 2008 07:29:28 -0600 Subject: [Mono-list] Shameless plug, was mono problems with Ajax Message-ID: <4848E7580200004F00024F4A@lucius.provo.novell.com> Hello, That FAQ question was outdated. Mono has supported ASP.NET AJAX for quite a while. I have now updated the page accordingly. >>> "Damien Miller" 06/05/08 4:39 PM >>> Hi Ferdinand, My company makes a C# websever that will run Atlas. The download includes a demo of running MS AJAX so you can see how it works. Finally, note that one of the scripts included with AJAX will NOT compile under mono so you can't use any refs to that script. Our server is at www.neokernel.com Hope this helps, Damien Miller From the FAQ on the mono site >>>>>>>>>>>>>>>>>>>>>>> Does Mono support Atlas? Mono does not support Atlas (now called ASP.NET AJAX) There was some early work done to support an early version of Atlas, but the code was not complete, we do not ship it, it is outdated and is not currently being maintained. >>>>>>>>>>>>>>>>>>>>>>>> From: Ferdinand Funke Subject: [Mono-list] ASP.Net AJAX with Mono? To: mono-list at lists.ximian.com Message-ID: <132139.74672.qm at web26605.mail.ukl.yahoo.com> Content-Type: text/plain; charset=utf-8 Hello list, I am just trying out the ASP.Net AJAX extensions under .Net and Mono. Therefore I created a rather simple WebApp with just a SciptManager control on the site. Here's the code: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AjaxTest._Default" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> Unbenannte Seite
</