BuildProvider for asp.net application?

  • Thread starter Thread starter Michael S
  • Start date Start date
M

Michael S

Hello.

For a asp.net 'web site' I wrote a simple BuildProvider that worked on a
..myxml file in my app_code folder that generated some code.

Now I need something similar for a 'web application'.

I have already figured out that a BuildProvider won't do the trick. There is
no app_code folder.

Also, I don't want to emit a temp-file with code in (like how
build-providers work) but rather just have a sort of pre-compiler that can
read my xml-file and add/update a proper C#-file in my project, before the
c#-compiler starts.

Linq for Sql seems to able to do this trick, from the .dbml-file to generted
..cs-code, does anyone know how do emulate that behavour?

Thanks

- Michael Starberg
 
Back
Top