[Mono-list] mdtool release build

2008-01-25 Thread Travis Staloch
Can anyone comment on how to use mdtool to build a solution in release mode? I'm currently using it like this: mdtool build --project:MyProjectName I'm aware that mdtool can be used to generate makefiles with mdtool generate-makefiles MySolution.sln Is there a way to have it generate makefiles

[Mono-list] mdtool release build

2008-01-22 Thread Travis Staloch
I'm having trouble using the mdtool command line utility to build a release config of my project. I've changed the project from Debug to Release config in monodevelop and that doesen't seem to change the behavior of mdtool. Is there a command line switch or other which I can use to choose anot

[Mono-list] Environment.GetFolderPath() on fedora core 8

2008-01-12 Thread Travis Staloch
I'm not sure if there are still problems on other platforms, but I've tested that Environment.GetFolderPath(Environment.SpecialFolders.Desktop) works well on fedora 8 with mono 1.2.6, returning a good path to /home/user/Desktop. I had been running mono 1.2.5 and thats when I noticed the problem

Re: [Mono-list] Environment.GetFolderPath() on fedora core 8

2008-01-08 Thread Travis Staloch
I've filed a bug for this issue. https://bugzilla.novell.com/show_bug.cgi?id=352397 If anyone has any pointers on where I should look in the sources to fix this, I can give it a try myself. Never m

Re: [Mono-list] Environment.GetFolderPath() on fedora core 8

2008-01-07 Thread Travis Staloch
In light of the MSDN recommendation below, Environment.GetFolderPath(Environment.SpecialFolder.Desktop) should return a good value since the Desktop folder does exist on my fc8 box. > The path to the specified system special folder, if that folder physically exists on your computer; otherwise,

[Mono-list] Environment.GetFolderPath() on fedora core 8

2008-01-05 Thread Travis Staloch
When using Environment.GetFolderPath(Environment.SpecialFolder.Desktop), I get a funny looking result on FC 8. I get the following string (with quotes included in the string). /home/username/"$HOME/Desktop" This seems like a bug. Should I file a bug report? Also, Environment.SpecialFolder.

Re: [Mono-list] service lock file disappears, service keeps running

2008-01-04 Thread Travis Staloch
I think I've answered my own question. Sorry. I forgot to build the service in 'release mode' with these lines: System.ServiceProcess.ServiceBase[] ServicesToRun; ServicesToRun = new System.ServiceProcess.ServiceBase[] { new ServiceBaseDerivedClass() }; System.ServiceProcess.ServiceBase.Run(Ser

[Mono-list] service lock file disappears, service keeps running

2008-01-04 Thread Travis Staloch
When I start my mono service app on fedora core 8 with `/sbin/service myservice start`, the lock file disappears while the app continues to run. This prevents the app from being properly shutdown with `/sbin/service myservice stop`. I wrote the init.d script. The init.d script uses this lin

Re: [Mono-list] mono-xmltool and relaxng compact include

2007-12-19 Thread Travis Staloch
. Thanks, Travis - Original Message From: Atsushi Eno <[EMAIL PROTECTED]> To: Travis Staloch <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Sent: Monday, December 17, 2007 11:27:49 PM Subject: Re: [Mono-list] mono-xmltool and relaxng compact include In trunk/mcs/class. But without full

Re: [Mono-list] mono-xmltool and relaxng compact include

2007-12-17 Thread Travis Staloch
Atsushi, > The fix is in svn and now it should successfully validates. Where in svn can I find the Commons.Xml.Relaxng sources? Regards, Travis Looking for last minute shopping deals? Find them

Re: [Mono-list] mono-xmltool and relaxng compact include

2007-12-15 Thread Travis Staloch
ableAttributes = ( attribute strip {text}?, attribute length {text}?, attribute no_strip {text}?, attribute start_pos {text}?, attribute strip_after {text}? ) simple.xml -- Some text Some text Some text Some text - Original Message From: Atsushi Eno &l

Re: [Mono-list] mono-xmltool and relaxng compact include

2007-12-13 Thread Travis Staloch
Atsushi, Oh yes, obviously need that too. My mistake. Here it is. The simple.rnc I posted last message doesn't really make use of the contents of Strippable.rnc. To fully test the include, we should make sure to use one of the objects defined in this file. I've also posted a modified Simple

[Mono-list] mono-xmltool and relaxng compact include

2007-12-13 Thread Travis Staloch
I'm using mono-xmltool to validate an xml document against a relaxng compact (.rnc) schema. I get this error if I use an include for a file which is in the same directory as the referencing .rnc file. Tokenizer error at line 3, column 10: irrecoverable syntax error This error goes away when

[Mono-list] RelaxNG validation

2007-12-11 Thread Travis Staloch
Hello, I'm using Commons.Xml.Relaxng.RelaxngValidatingReader to validate some simple xml documents against relaxng schemas. When I run the validation I get the exception: Commons.Xml.Relaxng.RelaxngException : Both branches of the interleave contains a text pattern. This indicates that there

[Mono-list] Problem with parsing tbody as HtmlGenericControl

2007-01-11 Thread Travis Staloch
Attn: Gonzalo, I just got this error message in my mod_mono web on mono 1.2.1 web: Expecting System.Web.UI.ControlBuilder There is a bug which seems to have fixed this behavior at: http://bugzilla.ximian.com/show_bug.cgi?id=71856 However, it doesn't seem to be fixed anymore. --Travis --

[Mono-list] ASP.NET TemplateParser error?

2007-01-03 Thread Travis Staloch
It looks like this problem has dissappeared after upgrading from mono runtime 1.1.13.6 to 1.2.2.1. Thanks so much for everyone who has helped including Gonzalo and Eric at grokthis.net. --Travis __ Do You Yahoo!? Tired of spam? Yahoo! Mail has

Re: [Mono-list] ASP.NET TemplateParser error?

2007-01-03 Thread Travis Staloch
Gonzalo, I'm resending this post as I'm afraid it got lost at the bottom of my last. I'm not sure how to configure my apps to use the base virtual directory mentioned. Is this done with an apache .conf file? If someone has a link or pointer on that I would appreciate it. Also, the assembl

[Mono-list] ASP.NET TemplateParser error?

2007-01-02 Thread Travis Staloch
> System.IO.FileNotFoundException: > /home/advanced/cworks/public_html/componentworks.net/bin/ComponentWorks.dll > : /home/advanced/cworks/public_html/componentworks.net/bin/ComponentWorks.dll > in <0x0> > in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom > (string,bool) >

[Mono-list] ASP.NET TemplateParser error?

2007-01-01 Thread Travis Staloch
I can't seem to figure out what has gone wrong. My web app worked fine running under the mono runtime a few builds back. But currently every page gives the error message below (note that ComponentWorks.dll my web app's main assembly). Also note that the app works correctly on windows. Sear

Re: [Mono-list] Web app migrate from win32 to linux

2006-11-15 Thread Travis Staloch
uot; /> would render in the browser only as foo. Putting runat=server in the string of a javascript variable is just cuckoo here on my planet. No offense to other worlds of course ;-), each to his own. Cheers, Joe On 11/15/06, Travis Staloch <[EMAIL PROTECTED]> wrote: ** Sorry all

Re: [Mono-list] Web app migrate from win32 to linux

2006-11-15 Thread Travis Staloch
ROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]>That would never work on windows either. Its not a correct way to get aclient side reference to a server side control. Its not a Mono migrationissue at all.Best Regards,JoeOn 11/14/06

Re: [Mono-list] Mono-list Digest, Vol 19, Issue 19

2006-11-15 Thread Travis Staloch
TECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]>That would never work on windows either. Its not a correct way to get aclient side reference to a server side control. Its

Re: [Mono-list] Web app migrate from win32 to linux

2006-11-14 Thread Travis Staloch
FYI,I was able to solve this problem myself.  I realized that it had to do with the fact that I'd included some unnecessary mono assemblies in my web app's bin directory (assemblies which were already in the GAC or otherwise on the machine which I migrated to).  This caused some confilcts as I'm gu

[Mono-list] Web app migrate from win32 to linux

2006-11-13 Thread Travis Staloch
Guys,I've recently moved a .NET 1.1 web application over from a working windows/IIS machine to a linux/apache2/mod_mono machine. I keep getting this message whenever I try to view any of the pages:System.MissingMethodException: Method not found: 'Mono.Data.Tds.Protocol.TdsConnectionParameters.Rese

Re: [Mono-list] mkbundle on windows

2006-10-05 Thread Travis Staloch
EMAIL PROTECTED]> wrote: Hi Travis,> > That's the same problem like in Windows. Copy mkbundle.exe I sent you> in the folder with the assemblies you want to bundle and call it like> this:> > mono mkbundle.exe ...> > Robert> > Travis Staloch wrote:>> Hey

Re: [Mono-list] mkbundle on windows

2006-10-04 Thread Travis Staloch
lies you want to bundle and call it like> this:> > mono mkbundle.exe ...> > Robert> > Travis Staloch wrote:>> Hey Robert,>> >> I've been trying to use mkbundle now on my linux FC5 box and seem>> to be getting an error with it. The app itself runs

Re: [Mono-list] mkbundle on windows

2006-09-21 Thread Travis Staloch
.c `pkg-config --cflags > --libs mono` temp.o> > gcc: Files/Mono-1.1.16/include: No such file or directory gcc: > Files/Mono-1.1.16/include/glib-2.0: No such file or directory gcc: > Files/Mono-1.1.16/lib/glib-2.0/include: No such file or directory > gcc: Files

Re: [Mono-list] mkbundle on windows

2006-09-09 Thread Travis Staloch
Robert,I'm still stuck with this. Sorry if you couldn't get my message last time, I had one message where your email was the subject and one where my attached words didn't make it through. Does anyone have any ideas why mkbundle on windows would be acting this way with mono 1.17? Thanks,--Travis

Re: [Mono-list] mkbundle on windows

2006-09-08 Thread Travis Staloch
Sorry, messed up the subject line last time.  --TravisNote: forwarded message attached. Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail.--- Begin Message --- >What happens if you call "mono MyApp.exe" from inside of this>directory?RobertThanks for your reply. The app starts up

[Mono-list] [EMAIL PROTECTED]

2006-09-08 Thread Travis Staloch
>What happens if you call "mono MyApp.exe" from inside of this>directory?RobertThanks for your reply. The app starts up as expected using "mono MyApp.exe" on windows, successfully throwing up its gtk/glade gui. --Travis Get your email and more, right on the new Yahoo.com

[Mono-list] mkbundle on windows

2006-09-07 Thread Travis Staloch
I'm trying to use mkbundle on windows with Mono-1.1.16 and not having any luck.  I'm running mkbundle as shown below.  All of the dlls referenced by MyApp.exe are in the same directory as MyApp.exe.  Thats also the directory where I'm running the mkbundle command from.  Any help is appreciated as I

Re: [Mono-list] Auto Running Processeses

2006-06-23 Thread Travis Staloch
rver, do you use asynchronous sockets?  I have tried using a TcpListener from within  a service application and the socket server fails to start.  I'm wondering what pattern you used for your socket server.   Thanks again,   Lee   From: Travis Staloch[mailto:[EMAIL PROTECTED] Sent: Frida

Re: [Mono-list] Auto Running Processeses

2006-06-19 Thread Travis Staloch
Lee,I've written a C# TCP socket service which runs on windows and linux.  It uses System.ServiceProcess, inheriting from System.ServiceProcess.ServiceBase.  The app was originally written on windows and worked fine there installed as a service using installutil.  When I moved over to linux, I d

[Mono-list] Re: app runs on windows, not on linux

2006-05-24 Thread Travis Staloch
Rafael, After adding some additional logging to my app, it is now running on my FC5 box! Thanks alot to all who helped me out. BTW, the Gtk-WARNING I was getting (below) proved to be really deceptive. I didn't end up having any encoding problems. The problem really occurred when I had given

Re: [Mono-list] app runs on windows, not on linux

2006-05-14 Thread Travis Staloch
Miguel, Thanks much for your advice. I tried running xmllint on the .glade file with the --valid (or --validate, I can't remember) switch. No errors were reported. I also tried running xmllint on my app's xml config file with no errors reported either. After reading a recent message to this

Re: [Mono-list] app runs on windows, not on linux

2006-05-09 Thread Travis Staloch
Miguel, Thanks for your respose. I DO have the libglade-devel packages installed... when I did 'yum search libglade-devel', I got this: libglade2-devel.i386 2.5.1-4.fc5.1 installed ... libglade-devel.i386

[Mono-list] Errors running a mono app on linux

2006-05-07 Thread Travis Staloch
I have written a glade app on windows which works well on windows. I'm trying run it on my Fedora box and keep running into errors (mostly various "unable to load library" errors such as the one described below). I've gotten past alot of these errors by making edits to my mono config file, adding

[Mono-list] app runs on windows, not on linux

2006-05-04 Thread Travis Staloch
I have written and built a glade app on windows which works well on windows. I'm trying run it on my Fedora box and keep running into errors (mostly various "unable to load library" errors such as the one described below). I've gotten past alot of these errors by making edits to my mono config fi