PC Review


Reply
Thread Tools Rate Thread

aspnet_compiler and HTM files

 
 
venom00
Guest
Posts: n/a
 
      4th Dec 2009
Hello, I have an application which uses HTM files as if they were
ASPX, so they can contain code and everything is working fine. But I
want to compile the website through the aspnet_compiler tool, which
seems to work just on ASPX files, is there a way to use it also on HTM
files? Are there good alternatives to aspnet_compiler?
I've also tried to decompile aspnet_compiler but i couldn't find any
explicit reference to the ASPX extension.

Thanks in advance,
venom00
 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      4th Dec 2009
venom00 <(E-Mail Removed)> wrote in news:18f7d8f7-98aa-4847-
99db-(E-Mail Removed):

> Hello, I have an application which uses HTM files as if they were
> ASPX, so they can contain code and everything is working fine. But I
> want to compile the website through the aspnet_compiler tool, which
> seems to work just on ASPX files, is there a way to use it also on HTM
> files? Are there good alternatives to aspnet_compiler?
> I've also tried to decompile aspnet_compiler but i couldn't find any
> explicit reference to the ASPX extension.


<httpHandlers>
<add verb="*" path="*.htm" type="System.Web.UI.PageHandlerFactory"/>
<httpHandlers>

You may need ot remove the path first, as .htm is a standard HTML file.
I believe this will get you past the compilation issue.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
venom00
Guest
Posts: n/a
 
      13th Dec 2009
Uh, I just realized that aspnet_compiler was working fine! Thanks
anyway!

On 4 Dic, 20:28, "Gregory A. Beamer"
<NoSpamMgbwo...@comcast.netNoSpamM> wrote:
> venom00 <venom.zero.z...@gmail.com> wrote in news:18f7d8f7-98aa-4847-
> 99db-79413d3c5...@k17g2000yqh.googlegroups.com:
>
> > Hello, I have an application which uses HTM files as if they were
> > ASPX, so they can contain code and everything is working fine. But I
> > want to compile the website through the aspnet_compiler tool, which
> > seems to work just on ASPX files, is there a way to use it also on HTM
> > files? Are there good alternatives to aspnet_compiler?
> > I've also tried to decompile aspnet_compiler but i couldn't find any
> > explicit reference to the ASPX extension.

>
> <httpHandlers>
> <add verb="*" path="*.htm" type="System.Web.UI.PageHandlerFactory"/>
> <httpHandlers>
>
> You may need ot remove the path first, as .htm is a standard HTML file.
> I believe this will get you past the compilation issue.
>
> Peace and Grace,
>
> --
> Gregory A. Beamer (MVP)
>
> Twitter: @gbworld
> Blog:http://gregorybeamer.spaces.live.com
>
> *******************************************
> | * * *Think outside the box! * * * * * * |
> *******************************************


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aspnet_compiler + dll =?Utf-8?B?U3VzaGlTZWFu?= Microsoft ASP .NET 0 10th Mar 2007 12:38 AM
aspnet_compiler.exe? Brian McCullough Microsoft ASP .NET 2 19th Feb 2007 01:56 PM
aspnet_compiler and pdb files. chris Microsoft ASP .NET 1 17th Jul 2006 04:31 PM
aspnet_compiler outputs non-runtime files? =?Utf-8?B?Y3Nya2luZw==?= Microsoft ASP .NET 0 7th Apr 2006 06:29 PM
aspnet_compiler - exclude files CuriousGeorge Microsoft ASP .NET 7 28th Mar 2006 11:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:05 PM.