Re: [Mono-docs-list] Wiki Markup for ECMA documents.
Hey, I can try to write something, I'm not an XSLT expert (say Joshua), but I think I can cook something. The issue is that I've started a (new) job and I have less and less time to code (*snif*). Oh, good luck on the new job! Anyways, we need both directions for the markup, in case someone wants to work on it ;-) ___ Mono-docs-list maillist - Mono-docs-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-docs-list
[Mono-dev] Compiling mono for arm linux
Title: Compiling mono for arm linux Hi, while compiling mono-1.1.10 I get following error: make[6]: *** [build/deps/basic-profile-check.exe] Error 245 And after that it reports an invalid mcs.exe, I tried the monolite-latest but no change. # build environment: # suse 9.0 linux 2.4.21-99-default # http://www.scratchbox.org/download/files/sbox-releases/1.0/tarball/ # scratchbox-core-1.0.2-i386.tar.gz # scratchbox-libs-1.0.2-i386.tar.gz # scratchbox-toolchain-arm-gcc3.4-glibc2.3-1.0.2-i386.tar.gz # install and setup the scratchbox # http://www.scratchbox.org/documentation/docbook/installdoc.html # from the scratchbox prompt sbox-TARGET: tar xzf /scratchbox/packages/pkg-config-0.19.tar.gz cd pkg-config-0.19 ./configure make make install cd .. tar xzf /scratchbox/packages/glib-2.2.3.tar.gz cd glib-2.2.3 ./configure make make install export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ cd .. tar xzf /scratchbox/packages/mono-1.1.10.tar.gz cd mono-1.1.10 # the overides for host,build and target (at least host) is # required to select the arm jit # because the default arm-unknown-linux doesn't select the arm-jit # see http://lists.scratchbox.org/pipermail/scratchbox-users/2005-October/000326.html export CFLAGS=-O0 ./configure --prefix=/usr/local --host=arm-linux-linux --build=arm-linux-linux --target=arm-linux-linux make -k here is a part of the build output: Making all in runtime make[2]: Entering directory `/home/fale/mono-1.1.10/runtime' if test -w ../mcs; then :; else chmod -R +w ../mcs; fi cd ../mcs make PROFILES='default net_2_0' all-profiles make[3]: Entering directory `/home/fale/mono-1.1.10/mcs' make profile-do--default--all profile-do--net_2_0--all make[4]: Entering directory `/home/fale/mono-1.1.10/mcs' make PROFILE="" all make[5]: Entering directory `/home/fale/mono-1.1.10/mcs' make[6]: *** [build/deps/basic-profile-check.exe] Error 245 make[6]: Target `build/deps/basic-profile-check.out' not remade because of errors. make[6]: Entering directory `/home/fale/mono-1.1.10/mcs' *** The compiler 'mcs' doesn't appear to be usable. *** Trying the 'monolite' directory. make[7]: Entering directory `/home/fale/mono-1.1.10/mcs' make[8]: *** [build/deps/basic-profile-check.exe] Error 245 make[8]: Target `build/deps/basic-profile-check.out' not remade because of errors. make[8]: Entering directory `/home/fale/mono-1.1.10/mcs' *** The contents of your 'monolite' directory may be out-of-date *** You may want to try 'make get-monolite-latest' make[8]: *** [do-profile-check-monolite] Error 1 make[8]: Leaving directory `/home/fale/mono-1.1.10/mcs' make[7]: *** [do-profile-check] Error 2 make[7]: Leaving directory `/home/fale/mono-1.1.10/mcs' make[6]: *** [do-profile-check-monolite] Error 2 make[6]: Leaving directory `/home/fale/mono-1.1.10/mcs' make[5]: *** [do-profile-check] Error 2 make[5]: Target `all' not remade because of errors. make[5]: Leaving directory `/home/fale/mono-1.1.10/mcs' make[4]: *** [profile-do--basic--all] Error 2 make[4]: Target `profile-do--default--all' not remade because of errors. make[4]: Target `profile-do--net_2_0--all' not remade because of errors. make[4]: Leaving directory `/home/fale/mono-1.1.10/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Target `all-profiles' not remade because of errors. make[3]: Leaving directory `/home/fale/mono-1.1.10/mcs' make[2]: *** [all-local] Error 2 make[2]: Target `all' not remade because of errors. make[2]: Leaving directory `/home/fale/mono-1.1.10/runtime' Making all in scripts make[2]: Entering directory `/home/fale/mono-1.1.10/scripts' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fale/mono-1.1.10/scripts' Making all in man make[2]: Entering directory `/home/fale/mono-1.1.10/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fale/mono-1.1.10/man' Making all in samples make[2]: Entering directory `/home/fale/mono-1.1.10/samples' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fale/mono-1.1.10/samples' Making all in web make[2]: Entering directory `/home/fale/mono-1.1.10/web' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/fale/mono-1.1.10/web' make[2]: Entering directory `/home/fale/mono-1.1.10' make[2]: Leaving directory `/home/fale/mono-1.1.10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fale/mono-1.1.10' make: *** [all] Error 2 Thanks for every information on how to successful build mono for arm Mono and the core libraries are running on my system but the remoting Tests failed when using the x86 System.Runtime.* Dlls Leopold Faschalek - Research Development / Senior Software Developer SKIDATA AG Untersbergstraße 40 A-5083 Gartenau [P] +43(0)6246/888-0 [F] +43(0)6246/888-7 [e] [EMAIL PROTECTED] [w] www.skidata.com
Re: [Mono-dev] Mono daily packages missing
Hello, there haven't been any new mono daily packages on http://mono.ximian.com/daily/ since November 10th. Is it a build problem ? I'm using these packages for regression benchmarks - I've added IA64 platform recently - (http://nenya.ms.mff.cuni.cz/projects/mono), but the benchmarks are most useful for the latest versions, of course We are working on restoring the daily builds. Miguel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] Mono.Data.SqliteClient fixes from Beagle
Hello, Any comments? Does this look ok for me to commit? It looks good to commit. Do you think you might be able to produce documentation for it as well? I have checked in the stubs, it might be worth at least documenting the pieces that will throw exceptions. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
RE: [Mono-dev] MySql Connectivity in Mono/xsp for linux
This was not intentional and with the next release we will be starting to use the version nantcontrib tag to improve our version number situation. Reggie -Original Message- From: [EMAIL PROTECTED] [mailto:mono-devel-list- [EMAIL PROTECTED] On Behalf Of Robert Jordan Sent: Wednesday, November 30, 2005 3:13 PM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] MySql Connectivity in Mono/xsp for linux [EMAIL PROTECTED] wrote: Hello, I'm currently using VS.Net 2003 to write some asp.NET/C# pages and I'm trying to connect it with MySQL 5.0. I've installed MySql connector (MySql.Data.dll)and it works fine with .Net Framework on windows. but once I attempt to move the asp.NET pages to the linux(fedora) mono/xsp server the pages begin to generate the following error: Could not find assembly MySql.Data What seems to be the problem? i am very much confused of this becoz i have registered the MySql.Data using the following comd: [/]# gacutil -i ./MySQL.Data.dll MySql.Data installed into the gac (/usr/local/lib/mono/gac) [/]# gacutil -l MySql.Data The following assemblies are installed into the GAC: MySql.Data, Version=1.0.3.31712, Culture=neutral, Number of items = 1 The version of the Windows MySql.Data assembly doesn't match the version of the Mono assembly. Even the latest MySql Connector distribution comes with different assembly versions. I really don't know why the maintainer is doing that You may try to put the following entries in your linux web.config: configuration runtime assemblyBinding xmlns=urn:schemas-microsoft-com:asm.v1 dependentAssembly assemblyIdentity name=MySql.Data publicKeyToken=the correct token! / bindingRedirect oldVersion=x.x.x.x newVersion=y.y.y.y / /dependentAssembly /assemblyBinding /runtime x.x.x.x == the version of MySql.Data for Windows y.y.y.y == the version of MySql.Data for Mono Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] [PATCH] another System.Resources.ResX* fix
Hi, http://bugzilla.ximian.com/show_bug.cgi?id=76870 May I commit? Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [PATCH] Mono.Data.SqliteClient fixes from Beagle
Hi Miguel Miguel de Icaza wrote: It looks good to commit. Do you think you might be able to produce documentation for it as well? I have checked in the stubs, it might be worth at least documenting the pieces that will throw exceptions. I will try and get around to documenting those parts when I commit this. I will wait for Joshua to complete his changes first, then I'll submit this again, just to check that everything looks ok. Thanks, Daniel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] ByteFX.Data
I don't know why this namespace is working at my console app, but I can't use it on my Webservices... "ByteFX.Data unknown add a namespace or a reference" something like that. Thnx Correo Yahoo!Comprueba qué es nuevo, aquíhttp://correo.yahoo.es___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Fix for failing TreeNode tests
On Sat, 2005-11-26 at 20:55 +0100, Dieter Bremes wrote: Hi, below are 2 fixes + an additional test for the TreeNode's FullPath and Index properties. Hi, these fixes are now in SVN. Thanks for the contributions! Cheers, Jackson I also added the namespace for TreeNodeTest but didn't update the indentation because it would obscure the diff. Dieter * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to fail. * TreeNodeTest.cs : Added namespace + SingleNodeIndexTest. Fixed warning CS0219. Index: System.Windows.Forms/TreeNode.cs === --- System.Windows.Forms/TreeNode.cs (Revision 53205) +++ System.Windows.Forms/TreeNode.cs (Arbeitskopie) @@ -199,7 +199,7 @@ public string FullPath { get { - if (tree_view == null) + if (TreeView == null) throw new Exception (No TreeView associated); StringBuilder builder = new StringBuilder (); @@ -498,9 +498,10 @@ public int Index { get { - if (parent == null) - return -1; - return parent.Nodes.IndexOf (this); + if (parent != null) + return parent.Nodes.IndexOf (this); + else + return 0; } } Index: Test/System.Windows.Forms/TreeNodeTest.cs === --- Test/System.Windows.Forms/TreeNodeTest.cs (Revision 53205) +++ Test/System.Windows.Forms/TreeNodeTest.cs (Arbeitskopie) @@ -1,7 +1,11 @@ using System; using NUnit.Framework; using System.Windows.Forms; +using SystemDrawingNamespace = System.Drawing; // Prevent CS0234 +namespace MonoTests.System.Windows.Forms +{ + [TestFixture] public class TreeNodeTest { @@ -100,6 +104,9 @@ public void FullPathException () { string s = new TreeNode ().FullPath; + // Prevent CS0219, will never write anything + // due to previous statement throwing Exception + Console.WriteLine(s); } [Test] @@ -126,8 +133,8 @@ TreeNode orig = new TreeNode (text, 2, 3, new TreeNode [] { new TreeNode (child, 22, 33) }); orig.Tag = FlatStyle.Flat; orig.Checked = true; - orig.BackColor = System.Drawing.Color.AliceBlue; - orig.ForeColor = System.Drawing.Color.Beige; + orig.BackColor = SystemDrawingNamespace.Color.AliceBlue; + orig.ForeColor = SystemDrawingNamespace.Color.Beige; TreeNode clone = (TreeNode)orig.Clone (); Assert.AreEqual (text, clone.Text, #1); @@ -138,8 +145,20 @@ Assert.IsTrue (clone.Checked, #6); Assert.AreEqual (child, clone.Nodes [0].Text, #10); Assert.AreEqual (22, clone.Nodes [0].ImageIndex, #11); - Assert.AreEqual (System.Drawing.Color.AliceBlue, clone.BackColor, #12); - Assert.AreEqual (System.Drawing.Color.Beige, clone.ForeColor, #13); + Assert.AreEqual (SystemDrawingNamespace.Color.AliceBlue, clone.BackColor, #12); + Assert.AreEqual (SystemDrawingNamespace.Color.Beige, clone.ForeColor, #13); } + [Test] + public void SingleNodeIndexTest () + { + TreeNode tn_1 = new TreeNode (A); + Assert.AreEqual (0, tn_1.Index, #1); + TreeView tv = new TreeView (); + tv.Nodes.Add (tn_1); + Assert.AreEqual (0, tn_1.Index, #2); + } + +} + } \ No newline at end of file ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] xsp2 crashes with the ms default web.config file
I tried migrate my ASP2.0 on IIS5 to XSP2, in my first request i get this exception System.Configuration.ConfigurationException: Unrecognized attribute in root element (D:/HomeWeb2.0\Web.config line 2) . This web.config is the default web.config with Visual WebDeveloper Express Edition. web.config fragment: ?xml version=1.0? configuration xmlns=http://schemas.microsoft.com/.NetConfiguration/v2.0 connectionStrings remove name=LocalSqlServer / ... C:\Archivos de programa\Mono-1.1.10\binmono ../lib/xsp/2.0/xsp2.exe --root D:\HomeWeb2.0 --port 8088 --verbose xsp2 Adding applications '/:.'... Registering application: Host: any Port: any Virtual path: / Physical path: D:\HomeWeb2.0 Listening on port: 8088 (non-secure) Listening on address: 0.0.0.0 Root directory: D:\HomeWeb2.0 Hit Return to stop the server. -EXCEPTION ON REQUEST--- System.TypeInitializationException: An exception was thrown by the type initializer for Mono.WebServer.XSPWorkerRequest Server stack trace: in 0x0 unknown method in 0x00150 Mono.WebServer.XSPApplicationHost:ProcessRequest (Int32 reqId, Int64 localEPAddr, Int32 localEPPort, Int64 remoteEPAdds, Int32 remoteEPPo rt, System.String verb, System.String path, System.String queryString, System.String protocol, System.Byte[] inputBuffer, System.String redirect, IntP tr socket, Mono.WebServer.SslInformations ssl) in (wrapper remoting-invoke-with-check) Mono.WebServer.XSPApplicationHost:ProcessRequest (int,long,int,long,int,string,string,string,string,byte[],str ing,intptr,Mono.WebServer.SslInformations) in (wrapper xdomain-dispatch) Mono.WebServer.XSPApplicationHost:ProcessRequest (object,byte[],byte[],int,long,int,long,int,string,string,string,stri ng,byte[],string) Exception rethrown at [0]: --- System.Configuration.ConfigurationException: Unrecognized attribute in root element (D:/HomeWeb2.0\Web.config line 2) in 0x00043 System.Configuration.ConfigurationData:ThrowException (System.String text, System.Xml.XmlTextReader reader) in 0x00082 System.Configuration.ConfigurationData:InitRead (System.Xml.XmlTextReader reader) in 0x00098 System.Configuration.ConfigurationData:Load (System.String fileName)--- End of inner exception stack trace --- in (wrapper xdomain-invoke) Mono.WebServer.XSPApplicationHost:ProcessRequest (int,long,int,long,int,string,string,string,string,byte[],string,intptr,M ono.WebServer.SslInformations) in (wrapper remoting-invoke-with-check) Mono.WebServer.XSPApplicationHost:ProcessRequest (int,long,int,long,int,string,string,string,string,byte[],str ing,intptr,Mono.WebServer.SslInformations) in 0x00563 Mono.WebServer.XSPWorker:InnerRun (System.Object state) in 0x00022 Mono.WebServer.XSPWorker:Run (System.Object state) System.TypeInitializationException: An exception was thrown by the type initializer for System.Web.HttpRuntime Server stack trace: in 0x0 unknown method in 0x0002b System.Web.Hosting.SimpleWorkerRequest:.ctor (System.String page, System.String query, System.IO.TextWriter output) in 0x0001c Mono.WebServer.MonoWorkerRequest:.ctor (IApplicationHost appHost) in 0x00015 Mono.WebServer.XSPWorkerRequest:.ctor (Int32 requestId, Mono.WebServer.XSPRequestBroker requestBroker, IApplicationHost appHost, System.N et.EndPoint localEP, System.Net.EndPoint remoteEP, System.String verb, System.String path, System.String queryString, System.String protocol, System.B yte[] inputBuffer, IntPtr socket, Boolean secure) in 0x0014f Mono.WebServer.XSPApplicationHost:ProcessRequest (Int32 reqId, Int64 localEPAddr, Int32 localEPPort, Int64 remoteEPAdds, Int32 remoteEPPo rt, System.String verb, System.String path, System.String queryString, System.String protocol, System.Byte[] inputBuffer, System.String redirect, IntP tr socket, Mono.WebServer.SslInformations ssl) in (wrapper remoting-invoke-with-check) Mono.WebServer.XSPApplicationHost:ProcessRequest (int,long,int,long,int,string,string,string,string,byte[],str ing,intptr,Mono.WebServer.SslInformations) in (wrapper xdomain-dispatch) Mono.WebServer.XSPApplicationHost:ProcessRequest (object,byte[],byte[],int,long,int,long,int,string,string,string,stri ng,byte[],string) -- No hay viento favorable para el que no sabe donde va.Pablo Iñigo Blasco - GeuS- www.geus.es.vg ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] foreach and structs. Possible bug on mcs?
hello. mcs lets me use structs as iteration variable in a foreach loop, csc does not. using System.Drawing; ... Point[] puntos=new Point[64]; System.Random r=new Random(); foreach(Point p in puntos) { p.X=r.Next(this.Width);//A p.Y=r.Next(this.Height);//B } ... - compiles ok for mcs. - two compilation erros on csc, lines A and B: Cannot modify members of 'p' because it is a 'foreach iteration variable' mcs version: 1.1.10.0 csc version: 1.1.4322 bye. -- No hay viento favorable para el que no sabe donde va.Pablo Iñigo Blasco - GeuS- www.geus.es.vg ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ByteFX.Data
On Thu, 2005-12-01 at 18:44 +0100, Velazquez Angel wrote: I don't know why this namespace is working at my console app, but I can't use it on my Webservices... ByteFX.Data unknown add a namespace or a reference something like You need one of these: * Use the @Assembly directive in your WS. * Copy ByteFX.Data.dll to the bin directory of your application. * Add that assembly explicitly in your web.config (system.web/compilation). -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono daily packages missing
The daily downloads are now updated and will happen at 1 am EST. Also, the bug where mono-latest.tar.gz pointing to the wrong file has been fixed. (It previously pointed to 1.1.9 downloads instead of 1.1.10). Wade On Thu, 2005-12-01 at 10:44 -0500, Miguel Icaza wrote: Hello, there haven't been any new mono daily packages on http://mono.ximian.com/daily/ since November 10th. Is it a build problem ? I'm using these packages for regression benchmarks - I've added IA64 platform recently - (http://nenya.ms.mff.cuni.cz/projects/mono), but the benchmarks are most useful for the latest versions, of course We are working on restoring the daily builds. Miguel. signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] patch for mbuild MBFile.cs
Hi Peter, I noticed that the latest mcs does not build mbuild because conversion from uint to System.IO.FilePermission fails (and it should fail). I think there you can use Mono.Posix to set executable permission. Also changed runtime detection part to use Environment.OSVersion.Platform (mono and .net 2.0 returns 4). (I guess you don't avoid mono dependency since it uses Mono.GetOptions.dll, but in case you do then it could be done by reflection). Cheers, Atsushi Eno Index: Makefile.in === --- Makefile.in (revision 53812) +++ Makefile.in (working copy) @@ -87,7 +87,7 @@ echo '[assembly: System.Reflection.AssemblyVersion($(VERSION))]' $@ Mono.Build.dll: Mono.Build.dll.sources $(shell cat Mono.Build.dll.sources) - $(MCS) /target:library /out:$@ /keyfile:mbuild.snk @$ + $(MCS) /target:library /out:$@ /keyfile:mbuild.snk /r:Mono.Posix.dll @$ $(SN) -R $@ mbuild.snk MBuildDynamic.Core.dll: MBuildDynamic.Core.dll.sources $(shell cat MBuildDynamic.Core.dll.sources) Mono.Build.dll mb-bundlegen.exe Index: Mono.Build/Mono.Build/MBFile.cs === --- Mono.Build/Mono.Build/MBFile.cs (revision 53812) +++ Mono.Build/Mono.Build/MBFile.cs (working copy) @@ -130,8 +130,8 @@ // try and abstract this operation. string path = GetPath (ctxt); - if (Type.GetType (System.MonoType) != null) - File.SetAttributes (path, (FileAttributes) 0x8000); + if ((int) Environment.OSVersion.Platform == 4) + Mono.Unix.UnixFile.SetPermissions (path, Mono.Unix.Native.FilePermissions.S_IXUSR); // no action needed on MS } ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] foreach and structs. Possible bug on mcs?
Hello, hello. mcs lets me use structs as iteration variable in a foreach loop, csc does not. Looks like a bug, please file it on: www.mono-project.com/Bugs using System.Drawing; ... Point[] puntos=new Point[64]; System.Random r=new Random(); foreach(Point p in puntos) { p.X=r.Next(this.Width);//A p.Y=r.Next(this.Height);//B } ... - compiles ok for mcs. - two compilation erros on csc, lines A and B: Cannot modify members of 'p' because it is a 'foreach iteration variable' mcs version: 1.1.10.0 csc version: 1.1.4322 bye. -- No hay viento favorable para el que no sabe donde va. Pablo Iñigo Blasco - GeuS- www.geus.es.vg ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Miguel de Icaza [EMAIL PROTECTED] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-list] Noobee question
Just started with mono monodevelop and love it. It would be useful to me (and I suspect to others) to have a repository of monodevelop projects. A place where people (such as myself) could contribute simple code examples packaged as a project while learning. Thoughts??? Kim ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Noobee question
Hello, kadil wrote: Just started with mono monodevelop and love it. It would be useful to me (and I suspect to others) to have a repository of monodevelop projects. A cool :-) place where people (such as myself) could contribute simple code examples packaged as a project while learning. Thoughts??? Novell Forge hosts several Mono applications: http://forge.novell.com http://forge.novell.com/modules/xfmod/community/?monocomm It should be OK for learning mono/monodevelop :-) Cheers, Atsushi Eno ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] MySQL Connector.Net
Hello; I just installed mod_mono module for apache on redhat enterprise 4 and asp is working great. I need to get is to interface with a MySQL database. I read that I need to install the Connector.Net package but all I can find is the windows binaries. Any help? Thanks, Kurt ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] GTK# compile problem
Hi to all I have one very simple question. What i must change to get it working errors are listed bellow i;m using mono 1.1.8.3 under linux But it is almost the same in windows can anybody give me some advice is it there something speacial to do to get it working with sharpdeveloper under windows and using GTK# Thanks I'm trying to compile one of the GTK example and i'm geting errors like this test.cs(4) error CS0234: The type or namespace name `Drawing' could not be found in namespace `System' test.cs(15) error CS0246: Cannot find type 'DeleteEventArgs' test.cs(1) error CS0246: The namespace `Gtk' can not be found (missing assembly reference?) Try using -pkg:gtk-sharp test.cs(2) error CS0246: The namespace `GtkSharp' can not be found (missing assembly reference?) Try using -pkg:gtk-sharp test.cs(4) error CS0234: The type or namespace name `Drawing' could not be found in namespace `System' test.cs(4) error CS0246: The namespace `System.Drawing' can not be found (missing assembly reference?) Try using -r:System.Drawing Compilation failed: 6 error(s), 0 warning Code of example ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] MySQL Connector.Net
http://dev.mysql.com/downloads/connector/net/1.0.html On this page you'll find the cunningly titled Windows Source and Binaries, no installer (ZIP), which I presume is what you were talking about. In actual fact if you download the zip file, within the bin folder, you'll find a mono-1.0 folder containing binaries for use with Mono. There are also folders containing binaries for .Net 1.0/1.1/2.0. No idea why they specifically called it Windows Source and Binaries, as I don't see any reason why the Mono.Data.dll assembly within mono-1.0 won't work for you on RHEL4. Let me know how that works out for you. Cheers, -= El =- Kurt Leyba wrote: Hello; I just installed mod_mono module for apache on redhat enterprise 4 and asp is working great. I need to get is to interface with a MySQL database. I read that I need to install the Connector.Net package but all I can find is the windows binaries. Any help? Thanks, Kurt ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Re: MySQL Connector.Net
Kurt Leyba wrote: Hello; I just installed mod_mono module for apache on redhat enterprise 4 and asp is working great. I need to get is to interface with a MySQL database. I read that I need to install the Connector.Net package but all I can find is the windows binaries. Any help? The mono binaries are inside the Win binaries ZIP. Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Three questions...
1. How can i launch an external program such as Firefox or NEdit ? 2. Is it possible to check the status of the running application ? 3. What happens if the launcher terminate its job ? Thanx. SaS ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Sqlite Client
I just found this: http://www.mail-archive.com/sqlite-users@sqlite.org/msg08219.html I am not 100% sure though. On 11/29/05, Joshua Tauberer [EMAIL PROTECTED] wrote: Ecmel Ercan wrote: Executing the commands separetly is against atomicity. What happens if in the middle of a statement some exception occurs? Sometime ago, I used the sqlite C api and as I recall, you can pass any number of sql commands in one statement and it executes all or none. This ensures integrity of the database. I wasn't aware of that and never got that impression from the docs (for version 3 at least), but if you can point me to something explaining it, or show me that that's true, then we'll have the mono binding do the same thing. Eventually. I can't work on it for a few weeks, so maybe another SqliteClient hacker will want to pick this up. -- - Joshua Tauberer http://taubz.for.net ** Nothing Unreal Exists ** -- Ecmel Ercan Ercansoy, Ltd. Kennedy Caddesi, Billur Sokak 44/3 Kavaklıdere 06700 ANKARA +90 (312) 467 62 92 (Tel) +90 (312) 468 08 43 (Faks) +90 (532) 598 28 92 (Mobil) ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] MySQL Connector.Net
2005/12/1, Elliott Draper [EMAIL PROTECTED]: http://dev.mysql.com/downloads/connector/net/1.0.html On this page you'll find the cunningly titled Windows Source and Binaries, no installer (ZIP), which I presume is what you were talking about. In actual fact if you download the zip file, within the bin folder, you'll find a mono-1.0 folder containing binaries for use with Mono. There are also folders containing binaries for .Net 1.0/1.1/2.0. No idea why they specifically called it Windows Source and Binaries, as I don't see any reason why the Mono.Data.dll assembly within mono-1.0 won't work for you on RHEL4. Let me know how that works out for you. Cheers, -= El =- Kurt Leyba wrote: Hello; I just installed mod_mono module for apache on redhat enterprise 4 and asp is working great. I need to get is to interface with a MySQL database. I read that I need to install the Connector.Net package but all I can find is the windows binaries. Any help? Thanks, Kurt ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list The connectors work, but I can't create an application with Winforms (using as resource the dll System.Windows.Forms of Mono and MySql.Data.dll of MySql)..if I don't use db the gui works... I know there are other connectors by ByteFX but i've never used them(sorry for my bad english).ciao -- Giovanni Francesco Lucchese ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] MySQL Connector.Net
The guy that wrote the ByteFX provider actually got hired by MySql, and so I can only presume the MySql .Net Connector is in fact a re-packaged ByteFX provider, that's kept up to date and in-line with MySql releases. I don't believe therefore that ByteFX is still maintained separately. Is it possible you can give me a little bit more information on the error your application gets when built using the MySql.Data assembly? This might allow me or someone else on this list to try and work out exactly what's going on :-) Cheers, -= El =- giovanni francesco lucchese wrote: 2005/12/1, Elliott Draper [EMAIL PROTECTED]: http://dev.mysql.com/downloads/connector/net/1.0.html On this page you'll find the cunningly titled Windows Source and Binaries, no installer (ZIP), which I presume is what you were talking about. In actual fact if you download the zip file, within the bin folder, you'll find a mono-1.0 folder containing binaries for use with Mono. There are also folders containing binaries for .Net 1.0/1.1/2.0. No idea why they specifically called it Windows Source and Binaries, as I don't see any reason why the Mono.Data.dll assembly within mono-1.0 won't work for you on RHEL4. Let me know how that works out for you. Cheers, -= El =- Kurt Leyba wrote: Hello; I just installed mod_mono module for apache on redhat enterprise 4 and asp is working great. I need to get is to interface with a MySQL database. I read that I need to install the Connector.Net package but all I can find is the windows binaries. Any help? Thanks, Kurt ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list The connectors work, but I can't create an application with Winforms (using as resource the dll System.Windows.Forms of Mono and MySql.Data.dll of MySql)..if I don't use db the gui works... I know there are other connectors by ByteFX but i've never used them(sorry for my bad english).ciao -- Giovanni Francesco Lucchese ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Chronojump 0.4 released!!
ChronoJump is a complete multiplatform system for measurement, management and statistics of jump and run events Chronojump uses a contact platform suitable for two events (in-platform, out-platform), and also a chronometer printed circuit designed ad-hoc in order to obtain precise and trustworthy measurements. The flight time of a jump is an indicator of the elevation of the Center of gravity of the jumper (as long as the starting and arrival position are the same). ChronoJump can also be used for timing races even with intervals Chronojump is free software and free hardware, and of course it runs in Mono. Website: http://gnome.org/projects/chronojump/index.html Release 0.4: http://ftp.gnome.org/pub/GNOME/sources/chronojump/04/ Mono-Live-CD with chronojump: http://memnon.ii.uam.es/descargas_web/chronojump/ Construction of contact platform: (spanish) http://gnome.org/projects/chronojump/construction_contact_platform_es.html Construction of chronometer: (spanish) http://www.iearobotics.com/personal/juan/proyectos/chronopic/1.0/ Screenshots: http://gnome.org/projects/chronojump/screenshots.html Any help will be apreciated ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] State of the command-line debugger on Mac OS X?
The NEWS and README.build files in the debugger module in svn haven't been updated in a long time, but I see from the logs that lots of changes are being made (including amd64 support). I just recently build mono from svn and I'm trying to build the command line debugger. I'm not having any luck so far, but I'd sort of expect it to work since there is a 'backends/server/powerpc- darwin.c' file. Any pointers on why this might be failing would be very helpful; thanks! (HOST_TEXT_START_ADDR doesn't seem to be defined _anywhere_ in the source for any platforms, so I sort of assume that this file shouldn't be getting built at all) -tim gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -I. -I. -I./include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -Wall -Wunused - Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes - Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno- cast-qual -Wcast-align -Wwrite-strings -MT trad-core.lo -MD -MP - MF .deps/trad-core.Tpo -c trad-core.c -fno-common -DPIC -o .libs/ trad-core.o trad-core.c: In function 'trad_unix_core_file_p': trad-core.c:100: error: 'struct user' has no member named 'u_dsize' trad-core.c:105: error: 'struct user' has no member named 'u_ssize' trad-core.c:122: error: 'struct user' has no member named 'u_dsize' trad-core.c:126: error: 'struct user' has no member named 'u_ssize' trad-core.c:133: error: 'struct user' has no member named 'u_dsize' trad-core.c:133: error: 'struct user' has no member named 'u_ssize' trad-core.c:178: error: 'struct user' has no member named 'u_dsize' trad-core.c:183: error: 'struct user' has no member named 'u_ssize' trad-core.c:191: error: 'HOST_TEXT_START_ADDR' undeclared (first use in this function) trad-core.c:191: error: (Each undeclared identifier is reported only once trad-core.c:191: error: for each function it appears in.) trad-core.c:191: error: 'struct user' has no member named 'u_tsize' trad-core.c:197: error: 'HOST_STACK_END_ADDR' undeclared (first use in this function) trad-core.c:197: error: 'struct user' has no member named 'u_ssize' trad-core.c:214: error: 'struct user' has no member named 'u_ar0' trad-core.c:217: error: 'struct user' has no member named 'u_dsize' trad-core.c: In function 'trad_unix_core_file_failing_command': trad-core.c:243: error: 'struct user' has no member named 'u_comm' trad-core.c: At top level: trad-core.c:285: warning: initialization discards qualifiers from pointer target type make[4]: *** [trad-core.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] xsp server error
dear frineds, i have a problem aobut mono asp.net xml and web service service, sometimes i try to connect my default page for instance index.aspx. when i start to index.aspx on browser error occure and shown this error page but this problem doesn^t occur every time.Rarely times i can show asp.net start page but mostly times not. How can i solve this problem ??? could you please help me . thanks. Title: Compilation Error Server Error in '/' Application Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: C:\DOCUME~1\YUSUFB~1\LOCALS~1\Temp\yusufbodur-temp-aspnet-0\a7d33d53\43486.0.cs(47,9) : error CS8025: Parsing error File name: C:/PROGRA~1/MONO-1~1.10/lib/xsp/test\Global.asaxSource File: C:\DOCUME~1\YUSUFB~1\LOCALS~1\Temp\yusufbodur-temp-aspnet-0\a7d33d53\43486.0.cs Line 1: // -- Line 2: // autogenerated Line 3: // This code was generated by a tool. Line 4: // Mono Runtime Version: 1.1.4322.2032 Line 5: // Line 6: // Changes to this file may cause incorrect behavior and will be lost if Line 7: // the code is regenerated. Line 8: // /autogenerated Line 9: // -- Line 10: Line 11: namespace ASP { Line 12: using System; Line 13: using System.Collections; Line 14: using System.Collections.Specialized; Line 15: using System.Configuration; Line 16: using System.Text; Line 17: using System.Text.RegularExpressions; Line 18: using System.Web; Line 19: using System.Web.Caching; Line 20: using System.Web.Security; Line 21: using System.Web.SessionState; Line 22: using System.Web.UI; Line 23: using System.Web.UI.WebControls; Line 24: using System.Web.UI.HtmlControls; Line 25: Line 26: public class Global_asax : System.Web.HttpApplication { Line 27: Line 28: private static bool __intialized = false; Line 29: Line 30: Line 31: void Application_Start (object o, EventArgs args) Line 32: { Line 33: Console.WriteLine ("Application_Start"); Line 34: } Line 35: Line 36: void Application_End (object o, EventArgs args) Line 37: { Line 38: Console.WriteLine ("Application_End"); Line 39: } Line 40: Line 41: void Application_BeginRequest (object o, EventArgs args) Line 42: { Line 43: if (Request.FilePath == "/index.aspx" Environment.Version.Major == 2) Line 44: Response.Redirect ("/index2.aspx"); Line 45: } Line 46: Line 47: /script Line 48: Line 49: public Global_asax() { Line 50: if ((ASP.Global_asax.__intialized == false)) { Line 51: ASP.Global_asax.__intialized = true; Line 52: } Line 53: } Line 54: } Line 55: Line 56: } ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
****SPAM(3)**** RE: [Mono-list] Re: Running mod-mono-server in a chroot jail
Christopher, Thanks for the heads up, I will definitely test out my chroot environment for security. Is it possible to create a safe chroot if it has mono installed in it? (inlcuding the compiler) I have a quick question about mounting my /proc filesystem into my jail environment. I have a common jail environment at /home/jail, this gets mounted into each persons home directory at /home/username/.jail, using mount --bind. I then symlink each of the required folders usr,lib,proc,var and such into the root of the users directory so I only need to mount one single folder into their home directory. I'm seeing a few weird things though (running redhat el4). When I mount my proc filesystem into /home/jail/proc I can do a ls -la /home/jail/proc and see all the files, however it doesn't show up in a df|grep proc. Also when I mount my /home/jail onto a /home/username/.jail, I get nothing in a ls -la /home/username/.jail/proc. Do you know any reasoning for this? Is this because I have to explicitly mount the proc filesystme into the users homedirectory as the proc type? If so any ways around this? This is causing my execution of a chrooted mod-mono-server to fail due to inability to get the number of processors on the machine, same as described in past emails. Any ideas/comments would be much appreciated. Thanks, Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Bergström Sent: Tuesday, November 29, 2005 3:21 AM Cc: Mono-list@lists.ximian.com Subject: [Mono-list] Re: Running mod-mono-server in a chroot jail Robert Jordan wrote: Jesse, You are correct, I do not have the real proc filesystem mounted into the jail. I was thinking I could go ahead and mount this using something like: mount --bind /proc -o ro,nosuid /home/jail/proc mount -n -t proc proc /home/jail/proc Does this open up and security issues etc? I'm not very familiar with the proc filesystem. There were some security issues (chroot escapes) with chroot and procfs, but I cannot remember which linux kernel version was affected (2.2 or 2.4?). Since security is being brought up here... Find paxtest.. Test your system and then check to see if you have make tools installed.. It takes about 2 minutes to pivot and or simply escape out of a chroot jail if you know a few key things.. chroot isn't a panacea.. Also.. For those that plan to run a reverse proxy to allow multiple xsp.. (Take a look at how many vulnerabilities squid has had over the last year.) I'm by no means an expert, but these are my basic thoughts.. C. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Anyone ever tried to run NAnt on mono on Windows?
Anyone ever tried to run NAnt on mono on Windows? It complains that I don't have Registry key: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.: NAnt.Core.BuildException: The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. --- Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';: NAnt.Core.BuildException: Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]'; in 0x00184 NAnt.Win32.Tasks.ReadRegistryTask:LookupRegKey (System.String key,Microsoft.Win32.RegistryHive[] registries) in 0x00056 NAnt.Win32.Tasks.ReadRegistryTask:ExecuteTask () I just fixed a bug on our MS.Win32 registry code, but now I wonder if there is another bug in Mono, or am just missing something. Atsushi Eno ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] xsp server error
Helo, i have a problem aobut mono asp.net xml and web service service, sometimes i try to connect my default page for instance index.aspx. when i start to index.aspx on browser error occure and shown this error page but this problem doesn^t occur every time.Rarely times i can show asp.net start page but mostly times not. This was a bug in the C# compiler tokenizer. What version of Mono are you using? It was fixed a while ago. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] .wapi description
Is there any documentation out there to exactly what the .wapi directory is and how it is used? Also is there a way to specify where this directory should be located when starting a mod-mono-server/xsp instance by hand? Thanks, Jesse ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] mono-service
Hey guys, I just was browsing through some of the mono code/assemblies and ran across mono-service. It appears that this is a windows service like implementation that could now be used under linux or whatever other mono supported platform. I was just curious about the status of this and supporting assemblies; whether they are still being worked on, stable, etc. Also is there any available documentation on this aside from the man page for mono-service? Thanks, Jesse ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Anyone ever tried to run NAnt on mono on Windows?
Hi Atsushi Not sure what the effect of that registry bug was ,but the Mono 1.1.9.2 release was working just fine here for running a version of NAnt built using .NET 1.1. However its failing badly attempting to run NAnt built using .NET 2.0: ** ERROR **: Can't find custom attr constructor image: path to NAnt.exe mtoken: 0x0a12 Do you actually installed Mono using a Windows installer, or built it from source ? Up until now, NAnt needed the registry key created by the Mono installer to determine a) whether Mono was actually installed b) what the installation directory was c) what version was actually installed On Linux, we use pkg-config for this purpose. I'll see if I can use pkg-config for this purpose on Windows too (for those building Mono from source in cygwin). Should not be that hard. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Atsushi Eno Sent: vrijdag 2 december 2005 3:19 To: mono-list mailing list Subject: [Mono-list] Anyone ever tried to run NAnt on mono on Windows? Anyone ever tried to run NAnt on mono on Windows? It complains that I don't have Registry key: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.: NAnt.Core.BuildException: The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. --- Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';: NAnt.Core.BuildException: Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]'; in 0x00184 NAnt.Win32.Tasks.ReadRegistryTask:LookupRegKey (System.String key,Microsoft.Win32.RegistryHive[] registries) in 0x00056 NAnt.Win32.Tasks.ReadRegistryTask:ExecuteTask () I just fixed a bug on our MS.Win32 registry code, but now I wonder if there is another bug in Mono, or am just missing something. Atsushi Eno ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Anyone ever tried to run NAnt on mono on Windows?
Hi Gert, Gert Driesen wrote: Hi Atsushi Not sure what the effect of that registry bug was ,but the Mono 1.1.9.2 release was working just fine here for running a version of NAnt built using .NET 1.1. However its failing badly attempting to run NAnt built using .NET 2.0: ** ERROR **: Can't find custom attr constructor image: path to NAnt.exe mtoken: 0x0a12 Do you actually installed Mono using a Windows installer, or built it from source ? I was trying to build nant from source in cvs (also failed from 0.85rc3 source archive), by doing make. Up until now, NAnt needed the registry key created by the Mono installer to determine a) whether Mono was actually installed b) what the installation directory was c) what version was actually installed On Linux, we use pkg-config for this purpose. I'll see if I can use pkg-config for this purpose on Windows too (for those building Mono from source in cygwin). Should not be that hard. Thanks, that would be nice. Anyways the registry check does not seem important, so I'll try to continue the build just skipping it. Atsushi Eno Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Atsushi Eno Sent: vrijdag 2 december 2005 3:19 To: mono-list mailing list Subject: [Mono-list] Anyone ever tried to run NAnt on mono on Windows? Anyone ever tried to run NAnt on mono on Windows? It complains that I don't have Registry key: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.: NAnt.Core.BuildException: The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. --- Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';: NAnt.Core.BuildException: Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]'; in 0x00184 NAnt.Win32.Tasks.ReadRegistryTask:LookupRegKey (System.String key,Microsoft.Win32.RegistryHive[] registries) in 0x00056 NAnt.Win32.Tasks.ReadRegistryTask:ExecuteTask () I just fixed a bug on our MS.Win32 registry code, but now I wonder if there is another bug in Mono, or am just missing something. Atsushi Eno ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Three questions...
It seems what i need, but the namespace Process was not found in the System.Diagnostics. WHere is it ?? SaS On Thu, 1 Dec 2005 16:17:44 -0200 Everaldo Canuto [EMAIL PROTECTED] wrote: HI, You need to make something like this: Process process = new Process(); process.StartInfo.UseShellExecute= false; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.RedirectStandardError = true; process.StartInfo.RedirectStandardInput = true; process.StartInfo.CreateNoWindow = true; process.StartInfo.WorkingDirectory = ./; process.StartInfo.FileName = firefox; process.StartInfo.Arguments = www.mono-project.com; process.EnableRaisingEvents = true; process.Start(); process.WaitForExit(); Take a look at Process classe documentation and you understand how it works. Everaldo 2005/12/1, Salvatore Scarciglia [EMAIL PROTECTED]: 1. How can i launch an external program such as Firefox or NEdit ? 2. Is it possible to check the status of the running application ? 3. What happens if the launcher terminate its job ? Thanx. SaS ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list