[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 694
  • Last Modified:

Can you add an uncompiled file to a compiled ASP.Net application.

Is it possible to replace a single compiled .aspx file inside a folder full of compiled files with an uncompiled one?  This would make things easier for me to debug at a remote site.

I tried replacing the file and deleting (renaming, actually) the .compiled file inside /bin, but it just caused an error 'File has not been pre-compiled and cannot be requested'.  To be honest, I wasn't surprised, and I expect that it can't be done, but I would like to ask anyway.
1 Solution
The short answer is no, once you make the move to using compiled sites all files within must be compiled
LeeDerbyshireAuthor Commented:
I guessed as much.  I was hoping for a devious hack of some kind.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now