[Mono-dev] App_Code
Tony Gu
tonyxgu at yahoo.com
Tue Sep 19 19:11:04 EDT 2006
Do we have the bug track for this?
damien churchill <damien.churchill at ukplc.net> wrote: Re: [Mono-dev] App_Code you don't actually have to compile the code for the 'Assembly="xx.cs"' to work. I've got it working fine with just source files. admittedly still breaks under windows,
---------------------------------
From: mono-devel-list-bounces at lists.ximian.com on behalf of Nick Hoddinott
Sent: Tue 19/09/2006 09:19
To: Tomasz Kubacki
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] App_Code
Hi,
> I know someone asked it befere, but i still haven't found solution.
> How to make my asp.net 2.0 web page 'automagically' compile dll's
I've haven't found a solution as yet. I started looking at the mono
code, but have had limited time recently. It's something I hope to
revisit soon.
Of course, you can get your application to run by compiling the code
in your App_Code dir to a dll, then adding 'Assembly="xx.dll'
attributes to your code. This will then break your 'automagic' compile
on Windows. :(
Solution I've toyed with are
- Writing the auto compiliation of App_Code feature for mono.
Obviously the best, but needs some planning, and knowledge of the
existing code.
- Moing your code base back to a compiled in advance model. Not too desirable.
- Adding an ugly hack (for your own use) to System.Web.Compiliation to
expect the type to be found in YourAppName.dll.
When I get chance to work on this further I'll post here. I might try
an ugly hack first, upload the patched dll to my site, then attempt a
real solution. :)
Regards,
Nick H
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060919/1b050df1/attachment.html
More information about the Mono-devel-list
mailing list