Re: BuildProvider for asp.net application?



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


.



Relevant Pages

  • [Follow-up] Something like buildprovider for asp.net application
    ... 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. ... I have already figured out that a BuildProvider won't do the trick. ...
    (microsoft.public.dotnet.languages.csharp)
  • BuildProvider for asp.net application?
    ... 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. ... I have already figured out that a BuildProvider won't do the trick. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cant print entire page content
    ... Graham Mayor - Word MVP ... Word MVP web site www.mvps.org/word ... Michael wrote: ...
    (microsoft.public.word.printingfonts)
  • Re: HTML & CSS Problems - Newbie
    ... [and deeper attributions have been killed by Michael R. Copeland] ... a Web site), how can I post an URL? ...
    (comp.infosystems.www.authoring.html)
  • Re: "My Computer" system folder freezes
    ... I did get the upgrade advisor from the web site you ... Any idea why I keep getting this error message? ... something is corrupted in the old account but the information ... > Michael Solomon MS-MVP ...
    (microsoft.public.windowsxp.basics)