[Mono-list] mono ignoring App_Code folder?
mmorano at mikeandwan.us
Mon Jul 9 20:29:03 EDT 2007
Without seeing the content of your .conf file, it's hard to tell. You
need to have a line similar to the following in your configuration:
This will run allow ASP.Net 2.0 applications to run via mod_mono. You
can find this and more by using man mod_mono or man xsp.
Also, there is a pretty good article describing how to setup mod_mono,
perhaps it will help. You can find the article here:
Joel Gwynn wrote:
> Thanks. That's good to know. How would I test for that? I'm looking
> at my /etc/apache2/mods-available/mod_mono.conf, and it looks like
> Include /etc/mono-server2/mono-server2-hosts.conf
> My mod_mono.load looks like this:
> LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so
> On 7/9/07, Mike Morano <mmorano at mikeandwan.us> wrote:
>> There is nothing special you have to do - mono does honor the code files
>> in App_Code. My site makes extensive use of the App_Code directory.
>> If you are using xsp to test your site, make sure you use xsp2 (not xsp)
>> as xsp2 is for asp.net 2.0.
>> Joel Gwynn wrote:
>> > I'm re-posting this just in case it got lost in the previous thread
>> > I've got an AWSECommerceService.cs in my App_Code folder, and
>> > it runs just fine in VS2005, but mono seems to be ignoring it:
>> > error CS0246: The type or namespace name `AWSECommerceService' could
>> > not be found. Are you missing a using directive or an assembly
>> > reference?
>> > Do I have to do something special to get mono to see files in the
>> > App_Code folder?
>> > _______________________________________________
>> > Mono-list maillist - Mono-list at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list