Re: BuildProvider for asp.net application?
- From: bruce barker <nospam@xxxxxxxxxx>
- Date: Fri, 03 Oct 2008 06:48:28 -0700
you should create msbuild task to do this.
-- bruce (sqlwork.com)
Michael S wrote:
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
- References:
- BuildProvider for asp.net application?
- From: Michael S
- BuildProvider for asp.net application?
- Prev by Date: Weird, it loads another aspx page
- Next by Date: Disable IE8 F12 Hotkey
- Previous by thread: BuildProvider for asp.net application?
- Next by thread: BindTextbox
- Index(es):
Relevant Pages
|