BuildProvider for asp.net application?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top