Re: [Mono-dev] [PATCH] System.Resources.ResX* fixes
Hey, yes, I followed up on the bug ;-) Miguel., ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problem with System.Data on linux mono
Thanks for the advice the problem I had was the sys admin only did the bare minimum mono install so it didn't have System.Data installed. It's installed and it all works now. Patrick Atsushi Eno wrote: Hi, Patrick Tan wrote: I'm just starting to work with mono on linux using C#. I have mono installed on my linux machine but when I run my C# program it gives me the following error: Test.cs(2) error CS0234: The type or namespace name `Data' could not be found in namespace `System' Test.cs(2) error CS0246: The namespace `System.Data' can not be found (missing assembly reference?) Try using -r:System.Data As this message suggests, use -r:System.Data in your command line. MCS has different design principle as csc has. It avoids extra assembly references and thus saves extraneous memory usage. (If you don't really have System.Data.dll and you specified -r:System.Data correctly, then the error message would be different.) Atsushi Eno ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Compiling mono for arm linux
On 12/01/05 FALE(Leopold Faschalek) wrote: 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. [...] *** The compiler 'mcs' doesn't appear to be usable. *** Trying the 'monolite' directory. What system do you use to execute binaries inside scratchbox? QEMU or the target device itself? In the first case, you're likely hitting some QEMU bug and I'm sure the QEMU developers would love to hear a detailed bug report. In the latter: could you try to copy mscorlib.dll, System.dll, System.Xml.dll, mcs.exe on the target together with the generated ARM mono binary (you can take the assemblies from any system, even x86). Then compile some small program on the target and see if it works (it should): if it does, then you have a bug in whatever means scratchbox uses to run it on the device. If it doesn't I'd like to have more info, like ARM cpu type, amount of memory, operating system etc. Thanks for every information on how to successful build mono for arm Note that you could just cross-compile the mono binary inside scratchbox and just copy over in the right places all the assemblies, since they are cross-platform already. lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
RE: [Mono-list] Anyone ever tried to run NAnt on mono on Windows?
Atsushi, You don't happen to know how to detect whether a (.NET) app is running in a cygwin environment ? Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Atsushi Eno Sent: vrijdag 2 december 2005 8:36 To: Gert Driesen Cc: 'mono-list mailing list' Subject: 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 ___ 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?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Atsushi Eno Sent: vrijdag 2 december 2005 8:36 To: Gert Driesen Cc: 'mono-list mailing list' Subject: 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. Support for this is now in cvs. Let me know if you notice any problems with it. Gert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] ikvmc java and gmsc
Hi, I have a problem that I could need some help with I hava a java class, Test.java, that I compiled to a .NET (or should I say mono?) assembly using the commands javac Test.java followed by ikvmc -reference:/../IKVM.GNU.Classpath.dll -target:library -assembly:Test.dll This gives me a library, Test.dll Now I want to include Test.dll in a mono project compiled with gmcs -target:exe -out:somename.exe -r:Test.dll somecsfile.cs In my c# code (file somecsfile.cs) I wrote using test; and later in the code private Test test; I get an comnpilation error saying Are you missing a using directive or an assembly reference? Can anyone tell me what I made wrong? thanks Johan ___ 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?
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. Support for this is now in cvs. Let me know if you notice any problems with it. If the change is to run nant without accessing windows registry, then it did not seem to have solved the problem. It still requires that registry key. I'm not in haste, and will try to make changes to ignore registries locally. Thanks for the help, Gert. Atsushi Eno ___ 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?
-Original Message- From: Atsushi Eno [mailto:[EMAIL PROTECTED] Sent: vrijdag 2 december 2005 10:58 To: Gert Driesen Cc: 'mono-list mailing list' Subject: Re: [Mono-list] Anyone ever tried to run NAnt on mono on Windows? 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. Support for this is now in cvs. Let me know if you notice any problems with it. If the change is to run nant without accessing windows registry, then it did not seem to have solved the problem. It still requires that registry key. Are you using anon-cvs ? If so, then you'll have to wait until it has been synced (not sure what the update interval is for sf.net cvs). I'd appreciate it if you'd test it once it's available in anon-cvs. I'm not in haste, and will try to make changes to ignore registries locally. Thanks for the help, Gert. No prob. Gert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono-service
Hi Jesse, 2005/12/2, Jesse Pasichnyk [EMAIL PROTECTED]: 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. It's for running System.ServiceProcess based services on Linux (and maybe other UNIX like OS). The implementation of ServiceBase should be complete. Not many people seem to be using it. So I would rather not call it stable. But maybe it is ;-) The only known problem is a crash when stopping services on kernel 2.4 based systems. Also is there any available documentation on this aside from the man page for mono-service? Not yet. But theres something in the works. There was a longer thread some weeks ago: http://thread.gmane.org/gmane.comp.gnome.mono.general/24402 HTH, Joerg. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] mono-service
I've produced some documentation about remoting in general that includes some stuff about mono-service. It is biased towards SuSE, but should be fairly easy to apply elsewhere. In fact I'd be very grateful if people could add sections about other distributions. I'm not claiming the documents are that good, by the way, but if anyone wants a copy please let me know and I'll send it to your private email. It's too large for the list. Peter -Original Message- From: Jörg Rosenkranz [mailto:[EMAIL PROTECTED] Sent: 02 December 2005 10:21 To: Jesse Pasichnyk Cc: mono-list@ximian.com Subject: Re: [Mono-list] mono-service Hi Jesse, 2005/12/2, Jesse Pasichnyk [EMAIL PROTECTED]: 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. It's for running System.ServiceProcess based services on Linux (and maybe other UNIX like OS). The implementation of ServiceBase should be complete. Not many people seem to be using it. So I would rather not call it stable. But maybe it is ;-) The only known problem is a crash when stopping services on kernel 2.4 based systems. Also is there any available documentation on this aside from the man page for mono-service? Not yet. But theres something in the works. There was a longer thread some weeks ago: http://thread.gmane.org/gmane.comp.gnome.mono.general/24402 HTH, Joerg. ___ 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] ikvmc java and gmsc
On Thu, 2005-12-01 at 13:53 +0100, Johan Holmgren wrote: Hi, I have a problem that I could need some help with I hava a java class, Test.java, that I compiled to a assembly using the commands javac Test.java followed by ikvmc -reference:/../IKVM.GNU.Classpath.dll -target:library -assembly:Test.dll This gives me a library, Test.dll Now I want to include Test.dll in a mono project compiled with gmcs -target:exe -out:somename.exe -r:Test.dll somecsfile.cs In my c# code (file somecsfile.cs) I wrote using test; and later in the code private Test test; I get an comnpilation error saying Are you missing a using directive or an assembly reference? Is `test.Test' the full name for your class (namespace+class name)? Alternatively, you can run `monodis --typedef Test.dll` to determine all the types within Test.dll and see if your `using` declaration is referring to the correct namespace for your Test type. - Jon ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Three questions...
On Fri, 2005-12-02 at 08:40 +0100, Salvatore Scarciglia wrote: It seems what i need, but the namespace Process was not found in the System.Diagnostics. WHere is it ?? Process is the type, not a namespace -- System.Diagnostics.Process is the classname. It's located in System.dll, which IIRC is always included in the default assembly references, so you shouldn't need a -r:System mcs argument. - Jon ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Three questions...
On Fri, 02 Dec 2005 06:54:49 -0500 Jonathan Pryor [EMAIL PROTECTED] wrote: Process is the type, not a namespace -- System.Diagnostics.Process is the classname. It's located in System.dll, which IIRC is always included in the default assembly references, so you shouldn't need a -r:System mcs argument. I'm using MonoDevelop 0.9. - directly from MonoDoc: Remarks The Process class provides the means for interacting with the operating system processes. Once a Process object has been created, it can be used to access information about the process, as well as interacting with it. Requirements Namespace: System.Diagnostics Assembly: System 1.0.3300.0 (in System.dll) Culture: neutral - in my code: using System.Diagnostics; ... Process p=new Process(); ... - build output: [Task:File=/home/sas/Projects/anaconda/engine.cs, Line=265, Column=6, Type=Error, Description=The type or namespace name `Process' could not be found. Are you missing a using directive or an assembly reference?(CS0246) Any Idea ?? Tnx SaS ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Three questions... SOLVED
In My solution the explicit reference to System was missing. Now It's all OK. Bye Sas On Fri, 2 Dec 2005 13:42:17 +0100 Salvatore Scarciglia [EMAIL PROTECTED] wrote: On Fri, 02 Dec 2005 06:54:49 -0500 Jonathan Pryor [EMAIL PROTECTED] wrote: Process is the type, not a namespace -- System.Diagnostics.Process is the classname. It's located in System.dll, which IIRC is always included in the default assembly references, so you shouldn't need a -r:System mcs argument. I'm using MonoDevelop 0.9. - directly from MonoDoc: Remarks The Process class provides the means for interacting with the operating system processes. Once a Process object has been created, it can be used to access information about the process, as well as interacting with it. Requirements Namespace: System.Diagnostics Assembly: System 1.0.3300.0 (in System.dll) Culture: neutral - in my code: using System.Diagnostics; ... Process p=new Process(); ... - build output: [Task:File=/home/sas/Projects/anaconda/engine.cs, Line=265, Column=6, Type=Error, Description=The type or namespace name `Process' could not be found. Are you missing a using directive or an assembly reference?(CS0246) Any Idea ?? Tnx 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
[Mono-list] What's the easiest way to...
...store application settings ? The problems to solve are: 1. Cross platform-application means: - no Gconf (Gnome) - no .configfiles in the home directory (*nix) - no registry (Win*) 2. INI.style files (name=value) or XML file ? 3. Where to save this file ? App Install folder or sys config folder (/etc/ or C:/WINNT/SYSTEM) 4. Related to previous problem, what about permissions ??!! Any suggestion ? In my opinion the best way is to save an XML file in the user home folder as an hidden file (for Unix users) and in the app. installation folder for Windows Users. What do you think about this solution ? Tnx Sas ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Re: What's the easiest way to...
Salvatore, ...store application settings ? string folder = Environment.GetFolderPath(Environment.SpecialFolder.Personal); If you want to differenciate between data suitable for roaming and local machine data: Environment.SpecialFolder.ApplicationData Environment.SpecialFolder.LocalApplicationData Robert The problems to solve are: 1. Cross platform-application means: - no Gconf (Gnome) - no .configfiles in the home directory (*nix) - no registry (Win*) 2. INI.style files (name=value) or XML file ? 3. Where to save this file ? App Install folder or sys config folder (/etc/ or C:/WINNT/SYSTEM) 4. Related to previous problem, what about permissions ??!! Any suggestion ? In my opinion the best way is to save an XML file in the user home folder as an hidden file (for Unix users) and in the app. installation folder for Windows Users. What do you think about this solution ? Tnx 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
Re: [Mono-list] What's the easiest way to...
You seem to be mixing up application settings and user preference settings. Application settings can be stored in a standard .config file, though this is read-only as far as the app is concerned. User preference settings are more of a problem - I guess XML files somewhere in the user's home directory structure is the obvious solutions. It's a shame GConf isn't available under windows as it's a nice mechanism to use with mono under linux :) Rus. On Fri, 2005-12-02 at 15:13 +0100, Salvatore Scarciglia wrote: ...store application settings ? The problems to solve are: 1. Cross platform-application means: - no Gconf (Gnome) - no .configfiles in the home directory (*nix) - no registry (Win*) 2. INI.style files (name=value) or XML file ? 3. Where to save this file ? App Install folder or sys config folder (/etc/ or C:/WINNT/SYSTEM) 4. Related to previous problem, what about permissions ??!! Any suggestion ? In my opinion the best way is to save an XML file in the user home folder as an hidden file (for Unix users) and in the app. installation folder for Windows Users. What do you think about this solution ? Tnx 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
[Mono-list] Re: What's the easiest way to...
Robert Jordan wrote: Salvatore, ...store application settings ? string folder = Environment.GetFolderPath(Environment.SpecialFolder.Personal); If you want to differenciate between data suitable for roaming and local machine data: Environment.SpecialFolder.ApplicationData Environment.SpecialFolder.LocalApplicationData Ups! You didn't ask *where* to store the preferences. About the how: - static application settings can be stored in the so called app.confg. This a XML file named after the executable: foo.exe.config. See http://tinyurl.com/dbwfe - user preferences can be stored to a file into a folder I mentioned above. You may use (XML) serialization for that: http://tinyurl.com/a26bo http://www.15seconds.com/issue/020903.htm Robert ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] probably the wrong place to ask...
And if it is I apologize. I'm guessing this is a delevopers list not a support one.Please dont flame - just point me in the right direction. But, I've spent about 3hrs this afternoon trying to get a simple asp page to display from my server. I've installed mono via the installer .bin chosing all the defaults accept I installed to /usr/local/mono-1.1.10 I installed mod_mono from source. I added include conf/mod_mono.conf to httpd.conf and restarted. No errors in the apache logand no mention of mono starting either but the test asp page was not handled by mono as it still had all the raw asp code in. My guess is mod-mono-server.exe isnt starting as there is no sign of it from ps and netstat doesnt show it listening on 8080. Any suggestions as to what i can do to track down the problem? P ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] What's the easiest way to...
Hello, ..store application settings ? The problems to solve are: 1. Cross platform-application means: - no Gconf (Gnome) - no .configfiles in the home directory (*nix) - no registry (Win*) The registry will be supported in the next release of Mono (Mono 1.1.11) for storing your application settings. Other folks have commented on other bits. Miguel ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Gtk# unstable tarball
Hi! There is no link at http://go-mono.com/sources to download unstable Gtk#: http://go-mono.com/sources/gtk-sharp-2.0/gtk-sharp-2.7.1.tar.gz I think that could be interesting to put a link to the tarball like in older releases. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mono on Mac
I get this error when I transfer from Windows to Mac a code .Net. Server Error in '/' Application Parser ErrorDescription: Error parsing a resource required to service this request. Review your source file and modify it to fix this error. Error message: Cannot find type StudioMESharp.Login File name: /Library/WebServer/Documents/StudioMESharp/login.aspxLine: 1 Source Error: %@ Page language="c#" Codebehind="Login.aspx.cs" AutoEventWireup="false" Inherits="StudioMESharp.Login" % !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTML HEAD Somebody can help me? Thanks, Davi Francelino ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] mod_mono and dll references
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hi! What could be the reason for mod_mono not looking into the bin/ directory for .dll files? I have an application, where file.aspx.cs contains: ReversiButton rb = new ReversiButton(i, j); The ReversiButton class definition is placed in a separate file ReversiButton.cs. I've placed the ReversiButton.dll in the bin/ directory: mcs ReversiButton.cs -r:System.Web -r:System.Drawing -r:System.Data - -target:library mv ReversiButton.dll bin/ However, when I run file.aspx, I get an application error: 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: /home/koxta/public_html/aspnet/ex12/Gameplay.aspx.cs(123,6) : error CS0246: The type or namespace name `ReversiButton' could not be found. Are you missing a using directive or an assembly reference? /home/koxta/public_html/aspnet/ex12/Gameplay.aspx.cs(178,4) : error CS0246: The type or namespace name `ReversiButton' could not be found. Are you missing a using directive or an assembly reference? How can I tell mono to search for assemblies in bin/? Best regards, Jurek Bartuszek P.S. The MonoAutoApplication option is enabled. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDkJ1u6l8uJkeTVlMRAyIgAJ9Cf2PbYUytyp/mHnUhBQEFlLDhDwCfaUfp HWGfMiQ51sg01Mt1ljgNNZs= =ueqS -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] .wapi description
On Thu, 2005-12-01 at 21:38 -0800, Jesse Pasichnyk wrote: 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? See 'man mono' and search for MONO_SHARED_DIR. -Gonzalo ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] probably the wrong place to ask...
On Fri, 2005-12-02 at 17:01 +, phil abbott wrote: And if it is I apologize. I'm guessing this is a delevopers list not a support one. Please dont flame - just point me in the right direction. But, I've spent about 3hrs this afternoon trying to get a simple asp page to display from my server. I've installed mono via the installer .bin chosing all the defaults accept I installed to /usr/local/mono-1.1.10 I installed mod_mono from source. [...] Looks like you installed mono in a location where mod_mono is not expecting it. In that case, you have to add a few extra configuration lines to apache. See 'man mod_mono' (MonoExecutablePath, MonoServerPath). -Gonzalo ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] xsp server error
On Fri, 2005-12-02 at 00:52 +0200, Yusuf Bodur wrote: 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. Looks like you have an error in your global.asax file. Specifically there are to /script tags. -Gonzalo ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono on Mac
On Fri, 2005-12-02 at 16:51 -0200, Davi Francelino wrote: I get this error when I transfer from Windows to Mac a code .Net. Server Error in '/' Application __ Parser Error Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error. Error message: Cannot find type StudioMESharp.Login You need to copy the assemblies generated by VS that are in the bin directory for your application. -Gonzalo ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_mono and dll references
On Fri, 2005-12-02 at 20:15 +0100, Jurek Bartuszek wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hi! What could be the reason for mod_mono not looking into the bin/ directory for .dll files? I have an application, where file.aspx.cs contains: ReversiButton rb = new ReversiButton(i, j); The ReversiButton class definition is placed in a separate file ReversiButton.cs. I've placed the ReversiButton.dll in the bin/ directory: mcs ReversiButton.cs -r:System.Web -r:System.Drawing -r:System.Data - -target:library mv ReversiButton.dll bin/ However, when I run file.aspx, I get an application error: 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: /home/koxta/public_html/aspnet/ex12/Gameplay.aspx.cs(123,6) : error CS0246: The type or namespace name `ReversiButton' could not be found. Are you missing a using directive or an assembly reference? This has nothing to do with mod_mono. It's just that you need the @Import for the namespace in which ReversiButton is defined (%@ Import namespace=blah %). -Gonzalo ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_mono and dll references
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 This has nothing to do with mod_mono. It's just that you need the @Import for the namespace in which ReversiButton is defined (%@ Import namespace=blah %). Hi! Thanks for answer, but ReversiButton is defined in the same namespace as the rest of application. The method you provided does not work in this case. How would mono know where to look for such dll files? By the way: According to my knowledge, asp.net applications (with code behind pages) can be run by mono in two modes: First, with .aspx and .aspx.cs files and second with .aspx and bin/*.dll files. If this information is incorrect, please, explain this to me (or provide some URL). And one more: how does mono know if the aspx.cs file has been changed (when to rebuild it)? Best regards, Jurek Bartuszek -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDkPnd6l8uJkeTVlMRA9ArAKC0AQtoCkSxeEvEG6q03vm4h5U4QQCfWBxj H9bA5FuUvzdxpN30EBua+6s= =foOQ -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] What's the easiest way to...
Make sure you look at Nini too; great config / settings library: http://nini.sourceforge.net/ -Abe On 12/2/05, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, ..store application settings ? The problems to solve are: 1. Cross platform-application means: - no Gconf (Gnome) - no .configfiles in the home directory (*nix) - no registry (Win*) The registry will be supported in the next release of Mono (Mono 1.1.11) for storing your application settings. Other folks have commented on other bits. Miguel ___ 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