RE: [Mono-list] asp.net mod_mono reference question

2005-05-21 Thread Dustin Aleksiuk

Hi Jesse,

I'm aware of that flag, but I'm talking
about the compilation of the aspx.cs file that mod_mono does when it gets
a page request. From what I read, it compiles the aspx.cs files at that
time (and that works fine if I remove the code that tries to use my DLL).
I don't know how to pass it command-line flags since mod_mono invokes the
compiler, not me.

Is there something fundamental I'm missing
about mod_mono?

Thanks,
Dustin







"Jesse Pasichnyk"
<[EMAIL PROTECTED]> 
21/05/2005 00:07




To
"'Dustin Aleksiuk'" <[EMAIL PROTECTED]>,



cc



Subject
RE: [Mono-list] asp.net mod_mono reference
question








-r MyCustomAssembly.dll
 
 
Mono C# compiler, (C) 2001
- 2003 Ximian, Inc.
mcs [options] source-files
   --about  
         About the Mono C# compiler
   -addmodule:MODULE
 Adds the module to the generated assembly
   -checked[+|-]
     Set default context to checked
   -codepage:ID  
    Sets code page to the one in ID (number, utf8, reset)
   -clscheck[+|-]
    Disables CLS Compliance verifications
   -define:S1[;S2]
   Defines one or more symbols (short: /d:)
   -debug[+|-], -g
   Generate debugging information
   -delaysign[+|-]
   Only insert the public key into the assembly (no signing)
   -doc:FILE  
       XML Documentation file to generate
   -keycontainer:NAME
The key pair container used to strongname the assembly
   -keyfile:FILE
     The strongname key file used to strongname the assembly
   -langversion:TEXT
 Specifies language version modes: ISO-1 or Default
   -lib:PATH1,PATH2
  Adds the paths to the assembly link path
   -main:class  
     Specified the class that contains the entry point
   -noconfig[+|-]
    Disables implicit references to assemblies
   -nostdlib[+|-]
    Does not load core libraries
   -nowarn:W1[,W2]
   Disables one or more warnings
   -optimize[+|-]
    Enables code optimalizations
   -out:FNAME  
      Specifies output file
   -pkg:P1[,Pn]  
    References packages P1..Pn
   -recurse:SPEC
     Recursively compiles the files in SPEC ([dir]/file)
   -reference:ASS
    References the specified assembly (-r:ASS)
   -target:KIND  
    Specifies the target (KIND is one of: exe, winexe,
       
              library, module), (short:
/t:)
   -unsafe[+|-]  
    Allows unsafe code
   -warnaserror[+|-]
 Treat warnings as errors
   -warn:LEVEL  
     Sets warning level (the highest is 4, the default is
2)
   -help2  
          Show other help flags
 
Resources:
   -linkresource:FILE[,ID]
Links FILE as a resource
   -resource:FILE[,ID]
    Embed FILE as a resource
   -win32res:FILE
         Specifies Win32 resource file (.res)
   -win32icon:FILE
        Use this icon for the output
   @file    
              Read response file for
more options
 
Options can be of the form
-option or /option
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dustin
Aleksiuk
Sent: Friday, May 20, 2005 3:50 PM
To: mono-list@lists.ximian.com
Subject: [Mono-list] asp.net mod_mono reference question
 

Hello, 

I'm sure there's an easy answer to this, but I can't find it. I'm running
mod_mono on apache, on Linux. I want to reference my own DLL in my codebehind.
When the compiler tries to compile my codebehind when the page is run,
it can't find my classes. It can find all the system classes.


Is there a config parameter where I can tell it which DLLs to reference?


Thanks muchly,
Dustin 

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] asp.net mod_mono reference question

2005-05-20 Thread Dustin Aleksiuk

Hello,

I'm sure there's an easy answer to this,
but I can't find it. I'm running mod_mono on apache, on Linux. I want to
reference my own DLL in my codebehind. When the compiler tries to compile
my codebehind when the page is run, it can't find my classes. It can find
all the system classes.

Is there a config parameter where I
can tell it which DLLs to reference?

Thanks muchly,
Dustin


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono problems

2005-05-17 Thread Dustin Aleksiuk

I had this exact issue a couple of weeks ago. I'm afraid I can't remember
how I fixed it, but I recompiled mod_mono with debug messages turned on and
it was obvious.

It was a configuration issue though, in my case. I had something wrong in
my apache config. If you didn't do this already, I recommend getting the
XSP samples going first, before trying your own .aspx.

Not much help I'm afraid. :)

Dustin

[EMAIL PROTECTED] wrote: -


To: mono-list@lists.ximian.com
From: Ben Clewett <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 05/17/2005 03:47PM
Subject: [Mono-list] mod_mono problems

Sorry if this posting is duplicated.

Dear List,

Is this the correct list for mod_mono?

I have closely followed the compilation INSTALL and README for mono and
mod_mono.  Mono works perfectly: '$mono HelloWorld.exe'

When I try calling the given mod_mono test program 'index.aspx' I get
this in my apache logs:

[Tue May 17 15:35:01 2005] [notice] child pid 15197 exit signal
Segmentation fault (11)
[Tue May 17 15:35:01 2005] [notice] child pid 15198 exit signal
Segmentation fault (11)
[Tue May 17 15:35:01 2005] [notice] child pid 15199 exit signal
Segmentation fault (11)

The browser returns no page.

I am using the given apache2 in SuSE 9.1.

Have I done anything wrong?

Regards,

Ben Clewett.
___
 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